pal_kn is initialized to a vector of named elements (colors)
to define an alternative (kn) scenario color scheme.
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_bw,
pal_bwp,
pal_crisk,
pal_mbw,
pal_mod,
pal_org,
pal_rgb,
pal_unikn,
pal_vir
Other lists containing current scenario information:
accu,
freq,
num,
pal,
pal_bw,
pal_bwp,
pal_mbw,
pal_mod,
pal_org,
pal_rgb,
pal_unikn,
pal_vir,
prob,
txt,
txt_TF,
txt_org
Examples
pal_kn # shows all color names and current values
#> N cond_true cond_false dec_pos dec_neg dec_cor
#> "#F2F2F2FC" "#B3B3B3FC" "#D9D9D9FC" "#999999FC" "#BFBFBFFC" "#808080FC"
#> dec_err hi mi fa cr ppv
#> "#A6A6A6FC" "#00A9E0" "#A6E1F4" "#CCEEF9" "#59C7EB" "#F26418"
#> npv txt brd bg
#> "#008ECE" "#000000FC" "#1A1A1AFC" "white"
pal_kn["hi"] # shows the current color for hits (true positives, TP)
#> hi
#> "#00A9E0"
pal_kn["hi"] <- "grey" # defines a new color for hits (true positives, TP)
