pal_bwp | R Documentation |
pal_bwp
is initialized to a vector of named elements (colors)
to define a strict (black-and-white, b/w) scenario color scheme
that is suited for printing graphs in black-and-white.
pal_bwp
An object of class character
of length 16.
pal_bwp
is a stricter version of the greyscale
palette pal_bw
that enforces
black text and lines on white boxes. Thus, the bounds of frequency boxes
are invisible on white backgrounds unless the default of
f_lwd = 0
is changed (e.g., to f_lwd = 1
).
Some background colors (of frequencies) are also used as
foreground colors (of probabilities, e.g.,
in plot_curve
and plot_plane
).
For this reason, the plotting functions detect and
adjust colors and/or line settings when pal_bwp
is used.
See pal_bw
for a more permissible black-and-white
palette that uses various shades of grey for frequency boxes
so that their bounds remain visible on a white background
when f_lwd = 0
(as per default for most graphs).
See pal
for default color information.
Assign pal <- pal_bwp
to use as default color scheme
throughout the riskyr package.
pal
contains current color information;
init_pal
initializes color information.
Other color palettes:
pal_bw
,
pal_crisk
,
pal_kn
,
pal_mbw
,
pal_mod
,
pal_org
,
pal_rgb
,
pal_unikn
,
pal_vir
Other lists containing current scenario information:
accu
,
freq
,
num
,
pal_bw
,
pal_kn
,
pal_mbw
,
pal_mod
,
pal_org
,
pal_rgb
,
pal_unikn
,
pal_vir
,
pal
,
prob
,
txt_TF
,
txt_org
,
txt
pal_bwp # shows all color names and current values pal_bwp["hi"] # shows the current color for hits (true positives, TP) pal_bwp["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.