Returns descriptive statistics of a numeric vector.
UNIV(x, conf.level = 0.95)
a numeric vector
confidence level for confidence limit
count of all element in the input vector
count of NA element
count of finite numbers
mean excluding NA
standard deviation excluding NA
coefficient of variation in percent
standard error of the sample mean, sample mean divided by nFinite
lower confidence limit of given confidence interval
upper confidence limit of given confidence interval
trimmed mean with trimming 1 - confidence level
minimum value
first quartile value
median value
third quartile value
maximum value
range of finite numbers. maximum - minimum
skewness
standard error of skewness
kurtosis
kurtosis
geometric mean, calculated only when all given values are positive.
geometric coefficient of variation in percent, calculated only when all given values are positive.
A convenient and comprehensive descriptive statistics. NA is removed during the calculation. This is similar to SAS PROC UNIVARIATE.