powered by
Formatting setter for selected numerical statistics.
jjcs_num_formats(d, cap = 4)
list:
fmt : named vector with formatting function (jjcsformat_xx) for numerical stats: range, median, mean_sd, sd
spec : named vector with formatting specifications for numerical stats: range, median, mean_sd, sd
(numeric) precision of individual values
numeric
(numeric) cap to numerical precision (d > cap -- will use precision as if cap was specified as precision)
P1_precision <- jjcs_num_formats(d = 0)$fmt jjcs_num_formats(2)$fmt jjcs_num_formats(2)$spec
Run the code above in your browser using DataLab