outGrubbs | R Documentation |
Detect outliers in normal-distributed sample, using Grubbs test.
outGrubbs(x, output = c("stripped", "outliers", "which"), alpha = 0.05,
log = FALSE)
x |
a numeric vector. |
output |
the required output, see Value below. |
alpha |
the significance level for a two-way test. |
log |
whether outlier detection should be performed on |
Vector like x
with outliers removed, or if output="outliers"
the outlier values, or if output="which"
a vector indicating which
elements are outliers.
Grubbs (1969) cited in Sokal and Rohlf (1995, p. 407), recommending sample size > 25.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.