pal_crisk: Color palette for cumulative risk curve.

pal_criskR Documentation

Color palette for cumulative risk curve.

Description

pal_crisk defines a default color palette for the plot_crisk function (as a named vector).

Usage

pal_crisk

Format

An object of class character of length 10.

Details

Color names and referents in plots generated by plot_crisk:

  1. "cum": Cumulative risk curve

  2. "rinc": Relative risk increments

  3. "txt": Text labels

  4. "aux": Auxiliary labels and lines

  5. "high": Highlighting elements

  6. "pas": Past/passed risk

  7. "rem": Remaining risk

  8. "delta": Delta-X- and -Y increments

  9. "poly": Polygon of increments

  10. "popu": Population partitions

See Also

plot_crisk plots cumulative risk curves; pal contains current color information; init_pal initializes color information.

Other color palettes: pal_bwp, pal_bw, pal_kn, pal_mbw, pal_mod, pal_org, pal_rgb, pal_unikn, pal_vir

Examples

pal_crisk  # show color palette (and names)


riskyr documentation built on Aug. 15, 2022, 9:09 a.m.