pal_kn: Alternative color palette for kn.

pal_knR Documentation

Alternative color palette for kn.

Description

pal_kn is initialized to a vector of named elements (colors) to define an alternative (kn) scenario color scheme.

Usage

pal_kn

Format

An object of class character of length 16.

Details

See pal for default color information.

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

See Also

pal_unikn contains more unikn colors; pal contains current color information; init_pal initializes color information.

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

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

Examples

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


riskyr documentation built on Aug. 15, 2022, 9:09 a.m.