| pal_org | R Documentation |
pal_org is a copy of pal
(to retrieve original set of colors in case
pal is changed).
pal_org
An object of class character of length 16.
See pal for default color information.
Assign pal <- pal_org to re-set default color scheme
throughout the riskyr package.
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_rgb,
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_rgb,
pal_unikn,
pal_vir,
prob,
txt,
txt_TF,
txt_org
pal_org # shows all color names and current values
pal_org["hi"] # shows the current color for hits (true positives, TP)
pal_org["hi"] <- "gold" # defines a new color for hits (true positives, TP)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.