outliers | R Documentation |
Extracts outliers from object of class "outForest". The outliers are sorted by their absolute score in descending fashion.
outliers(object, ...)
## Default S3 method:
outliers(object, ...)
## S3 method for class 'outForest'
outliers(object, ...)
object |
An object of class "outForest". |
... |
Arguments passed from or to other methods. |
A data.frame
with one row per outlier. The columns are as follows:
row
, col
: Row and column in original data with outlier.
observed
: Observed value.
predicted
: Predicted value.
rmse
: Scaling factor used to normalize the difference between observed
and predicted.
score
: Outlier score defined as (observed-predicted)/RMSE.
threshold
: Threshold above which an outlier score counts as outlier.
replacement
: Value used to replace observed value.
outliers(default)
: Default method not implemented yet.
outliers(outForest)
: Extract outliers from outForest object.
x <- outForest(iris)
outliers(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.