22_standardized_palette_interface: Standardized Palette Interface

Description Usage Arguments Details Value References See Also Examples

Description

Functions to get the default and global color objects.

Usage

1
2
3
4
5
6
7
8
9
st.top.color (theme)
st.side.color (theme)
st.sgrid.color (theme)
st.iso.colors (theme)

st.litmus.fit (theme)
st.litmus.fit.hcv (theme)
st.litmus.fit.flow (theme)
st.litmus.fit.lum (theme)

Arguments

theme

Optional string, the name of a supported theme.

Refer to set.bs.theme.

Details

Theses functions return strings or litmus-fitting functions objects.

If theme is provided, they return the strings or litmus-fitting functions, for a particular theme.
If theme isn't provided, they return the strings or litmus-fitting functions, set by global options.

Value

The top, side and sgrid functions, return a single (R color) string.
The iso functions, return a character (R color) vector.

The litmus.fit functions, return a litmus-fitting function.

References

Refer to the vignette for an overview, references and better examples.

See Also

set.bs.theme, set.bs.options

Examples

1
st.litmus.fit ("blue")

barsurf documentation built on Jan. 20, 2021, 5:08 p.m.