outlier_turkey: Outliers: Tukey’s fences

View source: R/outliers.R

outlier_turkeyR Documentation

Outliers: Tukey’s fences

Description

Tukey’s fences is a technique used in box plots. The non-outlier range is defined with [Q1-k(Q3-Q1), Q3+k(Q3-Q1)], where Q1 and Q3 are the lower and upper quartiles respectively, k - some non-negative constant (popular choice is 1.5). A value is an outlier based on Tukey’s fences when its value does not lie in non-outlier range.

Usage

outlier_turkey(x, k = 1.5)

Arguments

x

Numeric. Distribution

k

Positive Numeric. K-multiplier.

Value

Boolean vector detecting outliers.

See Also

Other Outliers: outlier_zscore(), outlier_zscore_plot(), winsorize()


laresbernardo/lares documentation built on Oct. 23, 2024, 12:05 p.m.