prtrellis: Display Many Lattice Plots On One Page

Description Usage Arguments Value Examples

View source: R/prtrellis.R

Description

Display Many Lattice Plots On One Page

Usage

1
prtrellis(x, layout = guess(x))

Arguments

x

A list of trellis plots.

layout

The number of columns and rows. By default a semi-intelligent guess is made based on the number of plots. FEATURE_TO_ADD: Should take the size of the plotting window into account. Also should use a similar approach for xqplot.

Value

NULL. The function is used to create a plot.

Examples

1
2
3
4
library(lattice)
prtrellis( list(
lattice::barchart(HairEyeColor,auto.key=T),
lattice::xyplot( height ~ age, Loblolly, groups = Seed, auto.key =TRUE)))

gmonette/gmisc documentation built on May 17, 2019, 7:25 a.m.