| pal_crisk | R Documentation |
pal_crisk defines a default color palette
for the plot_crisk function
(as a named vector).
pal_crisk
An object of class character of length 10.
Color names and referents in plots
generated by plot_crisk:
"cum": Cumulative risk curve
"rinc": Relative risk increments
"txt": Text labels
"aux": Auxiliary labels and lines
"high": Highlighting elements
"pas": Past/passed risk
"rem": Remaining risk
"delta": Delta-X- and -Y increments
"poly": Polygon of increments
"popu": Population partitions
plot_crisk plots cumulative risk curves;
pal contains current color information;
init_pal initializes color information.
Other color palettes:
pal_bw,
pal_bwp,
pal_kn,
pal_mbw,
pal_mod,
pal_org,
pal_rgb,
pal_unikn,
pal_vir
pal_crisk # show color palette (and names)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.