pal_rgb: Alternative color palette for graphs (with RGB colors).

pal_rgbR Documentation

Alternative color palette for graphs (with RGB colors).

Description

pal_rgb is initialized to a vector of named elements (colors) to define an alternative (reduced) scenario color scheme (using red, green, and blue colors).

Usage

pal_rgb

Format

An object of class character of length 16.

Details

See pal for default color information.

Assign pal <- pal_rgb to use as default color scheme throughout the riskyr package.

See Also

pal contains current color information; init_pal initializes color information.

Other color palettes: pal_bw, pal_bwp, pal_crisk, pal_kn, pal_mbw, pal_mod, pal_org, pal_unikn, pal_vir

Other lists containing current scenario information: accu, freq, num, pal, pal_bw, pal_bwp, pal_kn, pal_mbw, pal_mod, pal_org, pal_unikn, pal_vir, prob, txt, txt_TF, txt_org

Examples

pal_rgb        # shows all color names and current values
pal_rgb["hi"]  # shows the current color for hits (true positives, TP)
pal_rgb["hi"] <- "gold" # defines a new color for hits (true positives, TP)


hneth/riskyr documentation built on Feb. 18, 2024, 6:01 p.m.