Description Usage Arguments Value Examples
View source: R/auto_functions_other.R
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.
1 | autosize(n)
|
n |
The number of plots. Should be a positive integer. |
A vector of length 2 with the number of rows and number of columns for the plot matrix.
1 2 3 4 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.