Detecting outliers through boxplots of the features.

Share:

Description

This function detects univariate outliers simultaneously using boxplots of the features.

Usage

1
outbox(data, nclass)

Arguments

data

The dataset to be explored for outlier detection.

nclass

A value representing the class that will be explored.

Details

The function also displays a plot containing a boxplot for of the variables.

Value

out1

A list of the indices of the observations that are outside the extremes of the boxplot. The indices are given in a table format representing the number of columns in which the observation was identified as an outlier.

Author(s)

Edgar Acuna

Examples

1
2
3
#---- Identifying outliers in diabetes-class1 with boxplots----
data(diabetes)
outbox(diabetes,nclass=1)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.