outliers: Determine the upper and lower outliers

Description Usage Arguments Value

View source: R/outliers.R

Description

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

Usage

1
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/muadc documentation built on March 6, 2021, 4:15 p.m.