jjcsformat_count_denom_fraction {junco} | R Documentation |
Formatting count, denominator and fraction values
Description
Formatting count, denominator and fraction values
Usage
jjcsformat_count_denom_fraction(x, d = 1, roundmethod = c("sas", "iec"), ...)
Arguments
x |
|
d |
numeric(1). Number of digits to round fraction to (default=1) |
roundmethod |
(
|
... |
Additional arguments passed to other methods. |
Value
x
, formatted into a string with the appropriate
format and d
digits of precision.
Examples
jjcsformat_count_denom_fraction(c(7, 10, 0.7))
jjcsformat_count_denom_fraction(c(70000, 70001, 70000 / 70001))
jjcsformat_count_denom_fraction(c(235, 235, 235 / 235))
[Package junco version 0.1.1 Index]