outliers: IQR-based outlier detection

View source: R/outliers.R

outliersR Documentation

IQR-based outlier detection

Description

A function to determine data outliers based on the interquartile range.

Usage

outliers(
  data,
  iqr = 1.5, 
  plot = FALSE)

Arguments

data

data input

iqr

interquartile range of interest

plot

TRUE if a plot should be shown

Examples

outliers(data = c(1,2,3,4,15), iqr = 1.5, plot = FALSE)

samueltobler/behavdata documentation built on July 9, 2024, 11:33 a.m.