Description Usage Arguments Details Value Author(s) Examples
Given a vector of integer or numeric values, outliers exceeding user-defined limits are replaced.
1 2 | ## S3 method for class 'numeric'
ReplaceOutliers(this, lowerLimit=NULL, upperLimit=NULL, ...)
|
this |
An array of numeric values. Missing values will be ignored and retained. |
lowerLimit |
If a value is provided then values less than this in |
upperLimit |
If a value is provided then values greater than this in |
... |
Extra unused arguments. |
A new array is returned with outliers replaced with limit values.
Any value that is less than lowerLimit
or greater than upperLimit
is
considered an outlier. Missing values are ignored.
An array with outliers replaced.
Justin Hemann <support@causata.com>
1 | ReplaceOutliers(c(-1000, 1, 2, 3, NA, 1000), lowerLimit=1, upperLimit=3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.