Learn R Programming

greport (version 0.7-2)

mfrowSuggest: Compute mfrow Parameter

Description

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

Usage

mfrowSuggest(n, small = FALSE)

Value

return numeric vector. oldmfrow <- mfrowSet(8)

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.