get.layout {scaRabee} | R Documentation |
Layout for Lattice Functions
Description
get.layout
is a utility function called by estimation.plot
and
simulation.plot
. It provides a layout for lattice functions based
upon a user-defined number of plots per page. get.layout
is typically
not called directly by users.
Usage
get.layout(nplot = NULL)
Arguments
nplot |
A integer scalar defining the number of plots per page. |
Value
Return a vector of two integers (nx,ny), where nx is the number of rows and ny the number of columns for the lattice layout.
Author(s)
Sebastien Bihorel (sb.pmlab@gmail.com)
See Also
estimation.plot
,
simulation.plot
Examples
get.layout(1)
get.layout(7)
## Not run: get.layout(1:5)
## Not run: get.layout(NA)
[Package scaRabee version 1.1-4 Index]