5.2.plot.add.functions {loa}R Documentation

General plot add... functions

Description

General functions for adding extra layers to existing plots.

Usage


add_loaPanel(lattice.plot=trellis.last.object(),
             preprocess = NULL, panel = NULL, 
             postprocess = NULL, ...)

Arguments

lattice.plot

The plot to add an extra layer or layers to. This defaults to last lattice plot produced if not set in call.

preprocess

If set, a function to apply to lattice.plot before adding new panel.

panel

If set, a new panel... function to add to lattice.plot after the current lattice.plot panel.

postprocess

If set, a function to apply to lattice.plot after adding new panel.

...

Additional arguments, passed on to related functions.

Details

add_loaPanel is a frame work function for adding additional layers to an exiting lattice plot.

Value

add_loaPanel returns the supply (or last) lattice plot with an additional plot layer added.

Note

add_loaPanel is in-development aand may change significantly in future pacakge versions

Author(s)

Karl Ropkins

References

This function makes extensive use of code developed by others.

lattice: Sarkar, Deepayan (2008) Lattice: Multivariate Data Visualization with R. Springer, New York. ISBN 978-0-387-75968-5

Grid (part of base R): R Core Team (2017). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. URL https://www.R-project.org/.


[Package loa version 0.2.45.4 Index]