View source: R/interval_labels.R
sv_interval_labels_num | R Documentation |
Convert numeric bin cuts to simple and pretty labels.
sv_interval_labels_num(cuts, format = NULL, left_closed = TRUE)
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. |
A vector of character labels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.