chauvenet | R Documentation |
Applies the Chauvenet's criterion to a sample, identifying a possible outlier.
chauvenet(x, threshold = 0.5)
x |
the sample vector. |
threshold |
the threshold for the frequency of the suspect outlier. |
an object of class chauvenet
with the following components:
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
x <- rnorm(100)
chauvenet(x)
chauvenet(x, threshold=0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.