powered by
Vectorised conversion
as_percentage_label(x, decimal_places = 1, include_plus_sign = F)
Character vector
Numeric vector
Decimal places to display
prepend a "+" to the output if positive (if negative, a "-" must be prepended of course)
as_percentage_label(0.746) # gives "74.6%"
Run the code above in your browser using DataLab