autosize {autoimage} | R Documentation |
Automatically select plot matrix dimensions
Description
autosize
automatically makes a sensible choice for the
dimensions of a plot matrix based on n
, the number of plots.
Only works for n <= 36
. The dimensions are chosen to be as
close to a square as possible.
Usage
autosize(n)
Arguments
n |
The number of plots. Should be a positive integer. |
Value
A vector of length 2 with the number of rows and number of columns for the plot matrix.
Examples
autosize(3)
autosize(9)
autosize(11)
autosize(24)
[Package autoimage version 2.2.3 Index]