| 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:
samplethe name of the sample
s0the maximum difference
indexthe index of the suspect outlier
valuethe value of the suspect outlier
expectedthe expected frequency of the suspect outlier
rejecta 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.