make_perc.Rd
Quickly convert raw numbers to percentages
make_perc(x, digits = 0, keep_number = TRUE)
x | the vector or number that you wish to convert |
---|---|
digits | default value of 0 for zero decimal points after percent |
keep_number | default of true to return percentages as numbers, if false then a character string with the %"sign will be outputted |
#> [1] 57#> [1] 70 30 46 20#> [1] "70%" "30%" "46%" "99%"