plot.outliers {odetector} | R Documentation |
Plots the outliers found in a data set.
## S3 method for class 'outliers'
plot(x, ot=1, ...)
x |
an object of |
ot |
an integer ranges [1,4] representing the outlier detection approach. |
... |
additional arguments for S3 method |
plots of the object of outliers
class.
Zeynel Cebeci, Cagatay Cebeci, Yalcin Tahtali
detect.outliers
,
pairs.outliers
,
print.outliers
,
remove.outliers
,
summary.outliers
# Load the dataset x3p4c and extract the first three columns to x
data(x3p4c)
x <- x3p4c[,1:3]
# For 4 clusters, run Unsupervised Possibilistic Fuzzy C-Means (UPFC) algorithm
# of the package ppclust
res.upfc <- ppclust::upfc(x, centers=4)
# Detect the outliers
outs <- detect.outliers(res.upfc)
# Plot the outliers
plot(outs, ot=1)