powered by
Computing simple descriptive statistics of a numeric vector - not unlike what proc means of SAS does
descStat(x, na.rm = TRUE)
A vector with named elements.
A numeric vector
Should missing values be removed
Gregor Gorjanc; gregor.gorjanc@bf.uni-lj.si
summaryBy, summary_by
summaryBy
summary_by
x <- c(1, 2, 3, 4, NA, NaN) descStat(x)
Run the code above in your browser using DataLab