Function that provides a simple list of estimators (mean and SD).
User is free to define his own list of estimators. Used in describe_data
data_estimators_simple(x, na.rm = FALSE)
x | Numeric vector |
---|---|
na.rm | Should NAs be removed? Default is |
Named numeric vector with estimators mean
, and sd
data_estimators_simple(iris$Sepal.Width)#> mean SD #> 3.0573333 0.4358663