Function that provides a list of estimators. User is free to define his own list of estimators. Used in describe_data

data_estimators(x, na.rm = FALSE)

Arguments

x

Numeric vector

na.rm

Should NAs be removed? Default is FALSE

Value

Named numeric vector with estimators

Examples

data_estimators(iris$Sepal.Width)
#> mean SD CV % median mode MAD IQR #> 3.0573333 0.4358663 14.2564201 3.0000000 3.0003142 0.4447800 0.5000000 #> min max range #> 2.0000000 4.4000000 2.4000000