powered by
Returns a short label for a confidence level, e.g. "95 If conf_level is NA or NULL, returns fallback.
conf_level
NA
NULL
fallback
trainer_core_conf_label(conf_level, fallback = "the reported")
A character scalar such as "95%" or the fallback string.
"95%"
Numeric in (0,1), or NA/NULL.
Character string to use when conf_level is missing. Default is "the reported".
"the reported"
trainer_core_conf_label(0.95) trainer_core_conf_label(NA) trainer_core_conf_label(NULL, fallback = "not reported")
Run the code above in your browser using DataLab