label_levels {lgr} | R Documentation |
Label/Unlabel Log Levels
Description
Label/Unlabel Log Levels
Usage
label_levels(levels, log_levels = getOption("lgr.log_levels"))
unlabel_levels(labels, log_levels = getOption("lgr.log_levels"))
Arguments
levels |
an |
log_levels |
named |
labels |
a |
Value
a character
vector for label_levels()
and an integer vector for
unlabel_levels
See Also
Other formatting utils:
colorize_levels()
Examples
x <- label_levels(c(seq(0, 600, by = 100), NA))
print(x)
unlabel_levels(x)
[Package lgr version 0.4.4 Index]