Compute mfrow Parameter

Share:

Description

Compute a good par("mfrow") given the number of figures to plot.

Usage

1
mfrowSuggest(n, small = FALSE)

Arguments

n

numeric. Total number of figures to place in layout.

small

logical. Set to ‘TRUE’ if the plot area should be smaller to accomodate many plots.

Value

return numeric vector. oldmfrow <- mfrowSet(8)