Simple interface to generate a list appropriate as a theme, typically
used as the
par.settings argument in a high level call
1 2 3 4
A color specification.
A numeric alpha transparency specification. The same rules as
Parameters for points. Applicable for
Parameters for lines. Applicable for
fill color, applicable for components
border color, applicable for components
The appearance of a lattice display depends partly on the
“theme” active when the display is plotted (see
trellis.device for details). This theme is used to
obtain defaults for various graphical parameters, and in particular,
auto.key argument works on the premise that the same source
is used for both the actual graphical encoding and the legend. The
easiest way to specify custom settings for a particular display is to
par.settings argument, which is usually tedious to
construct as it is a nested list. The
simpleTheme function can
be used in such situations as a wrapper that generates a suitable list
given parameters in simple
name=value form, with the nesting
made implicit. This is less flexible, but straightforward and
sufficient in most situations.
A list that would work as the
theme argument to
par.settings argument to any high level lattice function
Deepayan Sarkar Deepayan.Sarkar@R-project.org, based on a suggestion from John Maindonald.
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.