powered by
percent() formats x as a percentage. For a wider range of formatters, consider the scales package.
percent()
x
scales
percent(x)
x formatted as a percent.
Numeric values.
percent(0.5)
Run the code above in your browser using DataLab