Peirces function to remove outliers
Description
Remove outliers from a vector based on Peirces criterion. Method follows the original technique in the paper by Gould below.
Usage
1  PeirceGould(v, m = 1)

Arguments
v 

m 

Details
Calculates R, the maximum allowable absolute error for a value in the vector, and removes those values exceeding this value.
m, the ‘number of unknown quantities’, may be treated as degrees of freedom of the system of observations, or the number of independent processes giving rise to errors.
For practical purposes m should generally be restricted to 1.
For efficiency, Peirce
is preferred.
Value
A numeric vector, with outliers removed; ordered by value of absolute error.
References
See Also
Peirce
Examples
1 2 
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.