powered by
Creates a grid layout nrow x ncol for n items.
grid_layout(n, rows = NULL, cols = NULL)
Number of items in grid
Pass one of rows or cols, or none, in which case auto layout is used.
A numeric vector of length 2: rows, cols
# NOT RUN { grid_layout(24, cols=4) grid_layout(24) grid_layout(24, rows=2) # }
Run the code above in your browser using DataLab