pal_mod | R Documentation |
pal_mod
is initialized to a vector of named colors
to define a modern scenario color scheme (in green/blue/orange).
pal_mod
An object of class character
of length 16.
See pal
for default color information.
Assign pal <- pal_mod
to use as default color scheme
throughout the riskyr package.
pal
contains current color information;
init_pal
initializes color information.
Other color palettes:
pal_bwp
,
pal_bw
,
pal_crisk
,
pal_kn
,
pal_mbw
,
pal_org
,
pal_rgb
,
pal_unikn
,
pal_vir
Other lists containing current scenario information:
accu
,
freq
,
num
,
pal_bwp
,
pal_bw
,
pal_kn
,
pal_mbw
,
pal_org
,
pal_rgb
,
pal_unikn
,
pal_vir
,
pal
,
prob
,
txt_TF
,
txt_org
,
txt
pal_mod # shows all color names and current values pal_mod["hi"] # shows the current color for hits (true positives, TP) pal_mod["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.