90_global_options: Global Options

Description Usage Arguments Details References Examples

Description

Set the global options, including the color theme.

Usage

1
2
3
4
5
6
7
8
set.ph.options (...,
    rendering.style="r", theme="blue",
    main.line.width=1, main.line.color="#000000",
    main.fill.color, main.fill.color.2="#B0B0B0",
    semi.fill.color = "#00000030",
    palette="earth")

set.ph.theme (theme="blue")

Arguments

rendering.style

Single character.
Refer to barsurf::set.bs.options.

theme

Character, either "blue" or "green".
Other themes from the barsurf package are partially supported.

main.line.width

Numeric, default main line width.

main.line.color

String (R color string), default main line color.

main.fill.color

String (R color string), default color for the area under univariate probability distributions, excluding quantile functions.

main.fill.color.2

String (R color string), default color for the area under quantile functions, and univariate dks/cks data bars/points.

semi.fill.color

String (R color string), default color for bivariate data points.

palette

String, color palette, for grDevices::hcl.colors, used when plotting distribution sets, and by the kernel.array function.

...

Ignored.

Details

This function calls barsurf::set.bs.options, to set the rendering.style and theme.

References

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

Examples

1
set.ph.theme ("blue")

probhat documentation built on May 12, 2021, 5:08 p.m.