mfrow: Function to Compute Layout for Plot Array

Description Usage Arguments Author(s) See Also Examples

View source: R/misc.R

Description

Given a number of plots n, find a arrangement for showing the plots in an array, set by par(mfrow=mfrow(n)).

Usage

1
mfrow(n, max.plots = 0)

Arguments

n

number of plots

max.plots

maximum number of plots; 0, the default, means no maximum.

Author(s)

John Fox <jfox@mcmaster.ca>

See Also

par

Examples

1
2
3
mfrow(4)
mfrow(5)
mfrow(6)

RcmdrPlugin.survival documentation built on May 19, 2017, 10:21 p.m.

Search within the RcmdrPlugin.survival package
Search all R packages, documentation and source code