sv_interval_labels_num: Convert numeric bin cuts to simple and pretty labels.
Description
Convert numeric bin cuts to simple and pretty labels.
Usage
sv_interval_labels_num(cuts, format = NULL, left_closed = TRUE)
Value
A vector of character labels.
Arguments
- cuts
A vector of numeric cuts.
- format
A function to apply to the numeric values, e.g. scales::label_comma().
- left_closed
If cuts are numeric, TRUE or FALSE of whether intervals are to be left-closed. Defaults to TRUE.