Mean (SD)
mean_sd.RdCalculates and formats the mean and standard deviation.
Arguments
- x
numeric vector
- digits
number of digits to round mean and standard deviation to
- na_rm
remove
NAvalues, default isFALSE- show_n
Should the denominator be shown, default is
FALSE- note
should "SD " be written inside the brackets, default is
FALSE- unit
optional character string giving unit, e.g., "kg"