Learn R Programming

odetector (version 1.0.1)

print.outliers: Print outliers

Description

Prints the outliers found in a data set.

Usage

# S3 method for outliers
print(x, ...)

Value

Print out of the object of outliers class.

Arguments

x

an object of outliers class containing the outliers to be printed. See detect.outliers for details.

...

additional arguments for S3 method print.

Author

Zeynel Cebeci, Cagatay Cebeci, Yalcin Tahtali

See Also

detect.outliers, pairs.outliers, plot.outliers, remove.outliers, summary.outliers, upfc

Examples

Run this code
# Load the dataset x3p4c and use the first three columns 
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 
out <- detect.outliers(res.upfc)
 
# Print the outliers
print(out)

Run the code above in your browser using DataLab