IQR_outliers: Mark outliers using the 1.5 * IQR method

View source: R/specific_calculations.R

IQR_outliersR Documentation

Mark outliers using the 1.5 * IQR method

Description

Mark outliers using the 1.5 * IQR method

Usage

IQR_outliers(x, multi = 1.5)

Arguments

x

(Numeric) Vector to analyse.

multi

(Numeric) Multiplication factor for the IQR. 1.5 by default.

Value

A Numeric vector that contains elements of x that are outliers.

Authors

  • 42- (https://stackoverflow.com/users/1855677/42)

Source

https://stackoverflow.com/a/49090426/5578429

Examples

IQR_outliers(c(-3000, 1:100, 1000))

## [1] -3000  1000


DesiQuintans/desiderata documentation built on April 9, 2023, 5:43 a.m.