percent: percent

Description Usage Arguments Value See Also Examples

Description

Percent formatter: multiply by one hundred and display percent sign.

Usage

1
percent(x, digits = 2, format = "f", ...)

Arguments

x

a numeric vector to format

Value

a function with single parameter x, a numeric vector, that returns a character vector

See Also

percent

Examples

1
2
x <- c(-1, 0, 0.1, 0.555555, 1, 100)
percent(x)

QuantAndrew/quantbox documentation built on May 8, 2019, 3:50 a.m.