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

data_estimators_robust(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_robust(iris$Sepal.Width)
#> median MAD IQR 10% trimmed mean #> 3.000000 0.444780 0.500000 3.043333 #> 20% trimmed mean #> 3.040000