Description Usage Arguments Value See Also Examples
Locate and label possible outliers in a string.
1 | outlier.labeler(x, standardize = TRUE, ...)
|
x |
A numeric vector. |
standardize |
logical. If TRUE scales the vector first. |
... |
Other arguments passed to
|
Returns a matrix (one column) of possible outliers coded
as "3sd"
, "2sd"
and "1.5sd"
,
corresponding to >= to 3, 2, or 1.5 standard deviations.
1 2 3 | outlier.labeler(mtcars$hp)[20:32]
by(mtcars$mpg, mtcars$cyl, outlier.labeler)
tapply(mtcars$mpg, mtcars$cyl, outlier.labeler)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.