View source: R/sd_via_median_estimator.R
sd_via_median_estimator | R Documentation |
Compute standard deviation via median estimator.
Please refer to formula #2 in Engbert & Kliegl (2003).
Falls back on mean estimator, if computed standard deviation
is smaller than .Machine$double.eps
. Raises an error
if the results using the mean estimator is still smaller than
.Machine$double.eps
.
sd_via_median_estimator(x, na.rm = FALSE)
x |
Numeric values |
na.rm |
Whether to exclude NA values, defaults to |
float
sd_via_median_estimator(rnorm(100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.