riskyr (version 0.2.0)

pal_bw: Alternative color palette for black-and-white graphs.

Description

pal_bw is initialized to a vector of named elements (colors) to define an alternative (black-and-white, b/w) scenario color scheme.

Usage

pal_bw

Arguments

Format

An object of class character of length 15.

Details

See pal for default color information.

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

See Also

pal contains current color information; init_pal initializes color information.

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

Examples

Run this code
# NOT RUN {
pal_bw        # shows all current color names and values
pal_bw["hi"]  # shows the current color for hits (true positives)
pal_bw["hi"] <- "gold" # defines a new color for hits (true positives, TP)

# }

Run the code above in your browser using DataCamp Workspace