R: Percent formatter: multiply by one hundred and display...

percent_format {scales} | R Documentation

## 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))

[Package scales version 0.4.1 Index]