descStat.Rd
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.
x <- c(1, 2, 3, 4, NA, NaN)
descStat(x)
#> n obs mean median sd cv min max
#> 6.0000000 4.0000000 2.5000000 2.5000000 1.2909944 0.5163978 1.0000000 4.0000000