outliers: Determine the upper and lower outliers

View source: R/outliers.R

outliersR Documentation

Determine the upper and lower outliers

Description

Given a numeric vector, return the upper and lower bounds for outliers. Assumes IQR * 1.5 as bounds.

Usage

outliers(x, na.rm = T)

Arguments

x

a numeric vector to be analysed.

na.rm

logical; if true, NA values are removed before IQR and quantiles are computed.

Value

a list with two values:

  1. bottom - the lower bound

  2. top - the upper bound


crazybilly/ucbudar documentation built on July 15, 2024, 5:03 p.m.