Learn R Programming

esvis (version 0.2.0)

create_cut_refs: Create a set of reference lines according to a cut score

Description

Create a set of reference lines according to a cut score

Usage

create_cut_refs(cut, calcs, p, scheme)

Arguments

cut

The cut scores on the raw scale

calcs

object from pp_calcs

p

output from empty_plot

scheme

What color scheme should the lines follow? Defaults to mimic the ggplot2 color scheme. Other options come from the viridisLite package, and must be installed first. These are the same options available in the package: "viridis", "magma", "inferno", and "plasma". These color schemes work well for color blindness and print well in black and white. Alternatively, colors can be supplied manually through a call to col (through ...).