Learn R Programming

smallstuff (version 1.0.3)

outliers: Find Outliers

Description

Find the outliers in a vector of values.

Usage

outliers(x)

Value

A list with a variable idx containing the indices of the outliers and a variable values containing the values of the outliers.

Arguments

x

vector

Examples

Run this code
x=c(100,30:40,101,25:28)
outliers(x)

Run the code above in your browser using DataLab