powered by
Computing simple descriptive statistics of a numeric vector -- not unlike what proc means of SAS does
descStat(x, na.rm = TRUE)
A numeric vector
Should missing values be removed
A vector with named elements.
summaryBy
# NOT RUN { x <- c(1, 2, 3, 4, NA, NaN) descStat(x) # }
Run the code above in your browser using DataLab