Computes descriptive statistics from a vector of numbers.
Usage
epi.descriptives(dat, conf.level = 0.95)
Arguments
dat
vector for which descriptive statistics will be calculated.
conf.level
magnitude of the returned confidence intervals. Must be a single number between 0 and 1.
Value
A list containing the following:
arithmetic
n number of observations, mean arithmetic mean, sd arithmetic standard deviation, q25 25th quantile, q50 50th quantile, q75 75th quantile, lower lower bound of the confidence interval, upper upper bound of the confidence interval, min minimum value, max maximum value, and na number of missing values.
geometric
n number of observations, mean geometric mean, sd geometric standard deviation, q25 25th quantile, q50 50th quantile, q75 75th quantile, lower lower bound of the confidence interval, upper upper bound of the confidence interval, min minimum value, max maximum value, and na number of missing values.