plot.outForest | R Documentation |
This function can plot aspects of an "outForest" object.
With what = "counts"
, the number of outliers per variable is visualized as a
barplot.
With what = "scores"
, outlier scores (i.e., the scaled difference between
predicted and observed value) are shown as scatterplot per variable.
## S3 method for class 'outForest'
plot(x, what = c("counts", "scores"), ...)
x |
An object of class "outForest". |
what |
What should be plotted? Either |
... |
Arguments passed to |
A list.
irisWithOutliers <- generateOutliers(iris, seed = 345)
x <- outForest(irisWithOutliers, verbose = 0)
plot(x)
plot(x, what = "scores")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.