as_percent {incubate} | R Documentation |
Format a number as percentage.
Description
Internal helper function that is not exported.
Usage
as_percent(x, digits = 1)
Arguments
x |
numeric vector to be formated as percentage |
digits |
requested number of decimal digits of the percentage |
Value
number formatted as percentage character
[Package incubate version 1.2.1 Index]