Learn R Programming

jwutil (version 1.2.3)

percentize: Convert a number into rounded integer percentage string

Description

The number is converted into a percentage, then rounded.

Usage

percentize(x)

Arguments

x

numeric

Examples

Run this code
# NOT RUN {
percentize(-1)
percentize(1L)
percentize(7.7)
percentize(0.01)
percentize(0.001)
# }

Run the code above in your browser using DataLab