zero_digits (default=1): the number of significant digits for values rounded to 0 (set to NULL to keep the original 0 value)
only_round (default=FALSE): use round() instead of format_fixed()
level: the confidence level required
format: a sugar argument. If FALSE, the function returns a list instead of a formatted string
Returns
a character vector
Functions
meansd(): returns mean and std error
meanCI(): returns mean and confidence interval
mediqr(): returns median and IQR
minmax(): returns minimum and maximum
nna(): returns number of observations and number of missing values
Fixed format
These functions use format_fixed() which allows to have trailing zeros after rounded values. In the case when the output of rounded values is zero, the use of the zero_digits argument allows to keep some significant digits for this specific case only.