A mechanism for setting options in the mosaic package.

mosaic.options(...)

mosaic.getOption(name)

mosaic.par.set(name, value, ..., theme, warn = TRUE, strict = FALSE)

mosaic.par.get(name = NULL)

restoreLatticeOptions()

mosaicLatticeOptions()

Arguments

...

additional arguments that are turned into a list if a list cannot be inferred from theme, name, and value.

name

the name of the option being set

value

the value to which to set the option

theme

a list appropriate for a mosaic theme

warn

a logical. UNUSED at present.

strict

a logical or numeric.

Details

restoreLatticeOptions returns any lattice options that were changed when the mosaic package was loaded back to their pre-mosaic state.

mosaicLatticeOptions sets a number of defaults for lattice graphics.