percent: percent: utility function that ourputs numeric value...

Description Usage Arguments Value

Description

Maintains leading and trailing zeros... Taken from StackOverFlow 20171122...

Usage

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

Arguments

x

is the input numeric value. The percentage value (y/total *100) is claculated outside of the function

digits

the number of digits to output

format

input format

Value

a numeric string formatted as a percentage


ColoradoDemography/ProfileDashboard documentation built on Oct. 10, 2018, 5:49 a.m.