Description Usage Arguments Details Value References See Also Examples
View source: R/plotHDoutliers.R
Plotting function showing observations determined to be outliers.
1 |
data |
A vector, matrix, or data frame consisting of numeric and/or categorical variables. |
indexes |
The (row) indexes of the outliers in |
transform |
A logical variable indicating whether or not the data needs to be
transformed to conform to Wilkinson's specifications before outlier
detection. The default is to transform the data using function
|
... |
Additional plotting arguments. |
Produces a plot of the data (transformed according to the Wilkinson's specifications) showing the outliers. If the data has more than two dimensions, it is plotted onto the principal components of the data that remains after removing outliers.
The indexes of the observations determined to be outliers.
Wilkinson, L. (2016). Visualizing Outliers.
1 2 3 4 5 6 7 8 9 10 11 | data(dots)
out.W <- HDoutliers(dots$W)
## Not run:
plotHDoutliers(dots$W,out.W)
## End(Not run)
data(ex2D)
out.ex2D <- HDoutliers(ex2D)
## Not run:
plotHDoutliers(ex2D,out.ex2D)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.