percent: percent conversion function

View source: R/format.R

percentR Documentation

percent conversion function

Description

takes a decimal number and turns it into a character with specified digits and '

Usage

percent(x, digits = 2, format = "f", ...)

Arguments

x

is the numeric argument to be converted

digits

is the number of digits the number should be rounded to

format

is the format that the character should be

...

additional arguments to pass to format or paste0

Examples

percent_function()

clmacleod/highlandr documentation built on Oct. 11, 2023, 8:04 p.m.