latticist.options: User default settings for latticist

Description Usage Arguments Details See Also Examples

View source: R/options.R

Description

A basic user settings facility, like options and lattice.options.

Usage

1
2

Arguments

name

character giving the name of a setting.

...

new options can be defined, or existing ones modified, using one or more arguments of the form 'name = value' or by passing a list of such tagged values. Existing values can be retrieved by supplying the names (as character strings) of the components as unnamed arguments.

Details

The available options and their current values can be seen with str(latticist.options()).

The options are:

use.playwith

default for the argument to latticist.

defaultPlot

see latticistCompose. Note, this value can be over-ridden by specifying defaultPlot in the spec argument.

xyLineType

line type for scatterplots; one (or more) of "smooth", "r" or "a".

add.sub, sub.func

set add.sub to FALSE to omit the subtitle. Set sub.func to a character value for the subtitle, or a function to generate the subtitle. It is passed arguments spec and nPoints.

MANY, VERYMANY

threshold number of data points (per panel, on average), at which to change the plot type to something more appropriate for large datasets.

For qqmath, in the VERYMANY case, the f.value argument is used to approximate the distribution with 100 points. For densityplot, in the VERYMANY case, data points are not drawn.

style.MANY, style.3panels, etc

these lists are combined to form a list of arguments to simpleTheme.

First, if the number of panels is 3 or more, the values in style.3panels are used. If the number of panels is 7 or more, the values in style.7panels are also used.

Next, if the number of data points (per panel) exceeds MANY, the values in style.MANY are used. If they also exceed VERYMANY, the values in style.VERYMANY are used in addition to those already set.

max.panels

sets the maximum number of panels to show on one page.

disc.levels, shingle.overlap

default number of levels to use when making shingles or factors. This can be over-ridden by specifying nLevels in the spec argument.

shingle.overlap sets the amount of overlap for shingles; passed to equal.count.

catch.errors

in the default case (TRUE), most errors are caught and displayed to the user in a dialog box. Set to FALSE to avoid the tryCatch block and thus allow debugging.

See Also

latticist

Examples

1

11010tianyi/latticist documentation built on May 5, 2019, 10:36 a.m.