as.percent: Format as percent

Description Usage Arguments Value

View source: R/as.percent.R

Description

Given a numeric vector, format it as percent, implicitly changing it to a string.

Usage

1
as.percent(x, digits = 2)

Arguments

x

a numeric vector to be formatted

digits

a single numerical value determining how many digits should be shown

Value

a vector of strings formated as percent, with commas and percent signs.


crazybilly/muadc documentation built on March 6, 2021, 4:15 p.m.