nearsq {actel} | R Documentation |
Find optimum plotting grid
Description
Calculates the optimal distribution of plots in a square grid.
Usage
nearsq(n, tol = 5/3 + 0.001)
Arguments
n |
number of plots to fit. |
Details
Obtained here: https://stackoverflow.com/questions/32017327/calculate-the-optimal-grid-layout-dimensions-for-a-given-amount-of-plots-in-r
Value
a vector of the number of rows and number of columns needed to distribute the desired number of plots.
[Package actel version 1.3.0 Index]