pct_format: Format number in percent style

Description Usage Arguments Value Examples

Description

Format number in percent style

Usage

1
pct_format(x, digits = 2, ...)

Arguments

x

numeric vector

digits

number of digits to keep

...

additional parameters passed to formatC

Value

character vector of formatted percentages

Examples

1
pct_format(0.8546, digits = 2)

problemofpoints/popformatting documentation built on May 14, 2019, 9:39 a.m.