Description Usage Arguments Details Value References Examples
Remove outliers from a vector based on Chauvenets criterion.
1 |
v |
|
loop |
|
Calculates z value for each value in the vector (from mean and standard deviation).
Then removes elements where the erfc
of the z value is >0.5. (erfc = complementary error function).
If loop = TRUE
, this process will be repeated until no more values can be removed.
A numeric vector, with outliers removed; preserves order of original vector. The vector will contain at least two values.
William Chauvenet, A Manual of Spherical and Practical Astronomy V.II , Lippincott, Philadelphia, 1st Ed (1863); Reprint of 1891 5th Ed: Dover, NY (1960).
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.