outliers {smallstuff}R Documentation

Find Outliers

Description

Find the outliers in a vector of values.

Usage

outliers(x)

Arguments

x

vector

Value

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

Examples

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

[Package smallstuff version 1.0.3 Index]