ggmultiplot
R/plotlib.R
get.layout.Rd
Calcurate layout matrix for ggmultiplot
get.layout(nplots, ncol, nrow)
Number of plots
Number of grid columns
Number of grid rows
matrix
ggfortify:::get.layout(3, 2, 2) #> [,1] [,2] #> [1,] 1 2 #> [2,] 3 4