Skip to contents

Format levels of confidence or probability e.g. to build variable names.

Usage

formatLevel(level)

Arguments

level

Numeric vector of levels of confidence or probabilities between 0 and 1.

Value

A character vector.

Examples

formatLevel(c(0.70, 0.95))
#> [1] "70%" "95%"