descStat {doBy} | R Documentation |
Computing simple descriptive statistics of a numeric vector – not unlike what proc means of SAS does
descStat(x, na.rm = TRUE)
x |
A numeric vector |
na.rm |
Should missing values be removed |
A vector with named elements.
Gregor Gorjanc; gregor.gorjanc <at> bf.uni-lj.si
x <- c(1,2,3,4,NA,NaN) descStat(x)