changelatticetheme: Change the 'lattice' theme used for 'adegraphics'

Description Usage Arguments Note Author(s) See Also Examples

View source: R/parameter.R

Description

This function allows to modify the default theme existing for adegraphics objects. The created theme also affects previously created objects.

Usage

1

Arguments

...

lattice parameters, the same used in trellis.par.set and provided by trellis.par.get. If empty, reset the theme to the adegraphics one.

Note

The adegraphics theme removes all margins, sets a transparent background and grey regions.

A further development will be the creation of various themes for adegraphics.

Author(s)

Alice Julien-Laferriere, Aurelie Siberchicot aurelie.siberchicot@univ-lyon1.fr and Stephane Dray

See Also

trellis.par.get trellis.par.set show.settings

Examples

1
2
3
4
5
6
if(require(lattice, quietly = TRUE)) {
  show.settings()
  changelatticetheme(list(superpose.symbol = list(pch = c(21, 22, 35), cex = 1)))
  show.settings()
  show.settings()[1]
}

adegraphics documentation built on Sept. 16, 2021, 5:07 p.m.