Learn R Programming

santoku (version 0.10.0)

percent: Simple percentage formatter

Description

percent() formats x as a percentage. For a wider range of formatters, consider the scales package.

Usage

percent(x)

Value

x formatted as a percent.

Arguments

x

Numeric values.

Examples

Run this code
percent(0.5)

Run the code above in your browser using DataLab