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)

Arguments

x

Numeric vector

na.rm

Should NAs be removed? Default is FALSE

Value

Named numeric vector with estimators mean, and sd

Examples

data_estimators_simple(iris$Sepal.Width)
#> mean SD #> 3.0573333 0.4358663