Two lattice themes used throughout the book.
1 2 3
a logical: should these settings be applied to the current device?
the size of the plot symbols
the amount of transparency (via the alpha channel). Note that transparency is not supported by all graphics devices.
When using these functions to save a plot, make sure to invoke them after the device has been opened (e.g. after calls such as
Each function returns a list of theme parameters. See Sarkar (2008) or
trellis.par.get for specific details.
Some of the colors are based on values from ColorBrewer http://www.colorbrewer.org.
Sarkar, D. (2008). Lattice: Multivariate Data Visualization with R. UseR! (1st ed. p. 286). Springer.
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.