detect_outliers_iqr: Detect outliers with IQR

View source: R/S4-Outlier.R

detect_outliers_iqrR Documentation

Detect outliers with IQR

Description

Uses IQR to detect outliers in a data.frame

Usage

detect_outliers_iqr(df, key.name, var.name)

Arguments

df

A data.frame.

key.name

Character value. The variable that identifies each observation uniquely.

var.name

Character value. The numeric variable based on which outliers are detected.

Value

Character vector. The values from variable key.name that were identified as outliers. If not outliers exist the function returns a character vector of length 0.


kueckelj/confuns documentation built on July 4, 2024, 4:53 p.m.