Learn R Programming

greport (version 0.5-2)

mfrowSuggest: Compute mfrow Parameter

Description

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

Usage

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)