Learn R Programming

mosaic (version 1.9.2)

theme.mosaic: Lattice Theme

Description

A theme for use with lattice graphics.

Usage

theme.mosaic(bw = FALSE, lty = if (bw) 1:7 else 1, lwd = 2, ...)

col.mosaic(bw = FALSE, lty = if (bw) 1:7 else 1, lwd = 2, ...)

Value

Returns a list that can be supplied as the theme to lattice::trellis.par.set().

Arguments

bw

whether color scheme should be "black and white"

lty

vector of line type codes

lwd

vector of line widths

...

additional named arguments passed to lattice::trellis.par.set()

See Also

Examples

Run this code
trellis.par.set(theme=theme.mosaic())
show.settings()
trellis.par.set(theme=theme.mosaic(bw=TRUE))
show.settings()

Run the code above in your browser using DataLab