This function allows you to format percentages

percent_formatting(x)

Arguments

x

the number you need to format

Value

a string

Examples

percent_formatting(0.012)
#> [1] "1.2 %"