R/utils.R
percent.Rd
percent() formats x as a percentage. For a wider range of formatters, consider the scales package.
percent()
x
scales
percent(x)
Numeric values.
x formatted as a percent.
percent(0.5) #> [1] "50%"