Format a proportion as a printed percent
to_percent(prop, digits = 3, ...)The proportion
how many significant digits are to be used for
numeric and complex x. The default, NULL, uses
getOption("digits"). This is a suggestion: enough decimal
places will be used so that the smallest (in magnitude) number has
this many significant digits, and also to satisfy nsmall.
(For the interpretation for complex numbers see signif.)
passed to format
character