row.col.page.fit {swfscMisc} | R Documentation |
Number of Rows and Columns on Page
Description
Return the number of rows and columns for n
that best fits on a page of size width
x height
.
Usage
row.col.page.fit(n, width = 8.5, height = 11)
Arguments
n |
number of items (e.g., plots) to fit on page. |
width , height |
dimensions of page. |
Value
A vector listing the number of rows and columns to use.
Author(s)
Eric Archer eric.archer@noaa.gov
Examples
# 9 frames on US letter paper
row.col.page.fit(9)
# 9 frames on a square
row.col.page.fit(9, width = 10, height = 10)
[Package swfscMisc version 1.6.5 Index]