powered by
Applies the Chauvenet's criterion to a sample, identifying a possible outlier.
chauvenet(x, threshold = 0.5)
an object of class chauvenet with the following components:
chauvenet
sample
the name of the sample
s0
the maximum difference
index
the index of the suspect outlier
value
the value of the suspect outlier
expected
the expected frequency of the suspect outlier
reject
a logical value indicating whether the suspect outlier should be rejected
the sample vector.
the threshold for the frequency of the suspect outlier.
x <- rnorm(100) chauvenet(x) chauvenet(x, threshold=0.1)
Run the code above in your browser using DataLab