Learn R Programming

fastR2 (version 1.2.5)

col.fastR: Lattice Theme

Description

A theme for use with lattice graphics.

Usage

col.fastR(bw = FALSE, lty = 1:7)

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

Author

Randall Pruim

See Also

[lattice::trellis.par.set()], [lattice::show.settings()]

Examples

Run this code

trellis.par.set(theme=col.fastR(bw=TRUE))
show.settings()
trellis.par.set(theme=col.fastR())
show.settings()

Run the code above in your browser using DataLab