scales (version 0.4.1)

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

Description

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

Usage

percent_format()
percent(x)

Arguments

x
a numeric vector to format

Value

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

Examples

percent_format()(runif(10))
percent(runif(10))
percent(runif(10, 1, 10))