tactile.theme: Tactile Theme

Description Usage Arguments Details Value Examples

View source: R/tactile.theme.R

Description

A custom theme for lattice that tries to make away with some of the (in this author's opinion) excessive margins that result from the default settings. It also provides a different color theme based partly on latticeExtra::custom.theme().

Usage

1
tactile.theme(fontsize = c(12, 8), color = TRUE, ...)

Arguments

fontsize

A vector of two numeric scalars for text and symbols respectively.

color

Colorized theme.

...

Additional named options.

Details

The theme currently modifies the default lattice theme so that

Value

A list of graphical parameters that for instance could be supplied inside a call to lattice::xyplot() or set via lattice::lattice.options().

Examples

1
2
3
4
5
xyplot(speed ~ dist, data = cars, par.settings = tactile.theme())
opars <- trellis.par.get()
trellis.par.set(tactile.theme())
show.settings()
trellis.par.set(opars)

tactile documentation built on May 2, 2019, 4:52 a.m.