scales (version 0.1.0)

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

Description

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

Arguments

Value

  • a function with single paramater x, a numeric vector, that returns a character vector

Examples

Run this code
percent_format()(runif(10))
percent(runif(10))
percent(runif(10, 1, 10))

Run the code above in your browser using DataCamp Workspace