descStat | 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@bf.uni-lj.si
summaryBy
, summary_by
x <- c(1, 2, 3, 4, NA, NaN)
descStat(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.