is_outlier: Function to identify outliers in a numeric vector by uisng...

View source: R/is_outlier.R

is_outlierR Documentation

Function to identify outliers in a numeric vector by uisng the same logic used for R's base boxplots.

Description

Function to identify outliers in a numeric vector by uisng the same logic used for R's base boxplots.

Usage

is_outlier(x, coef = 10)

Arguments

x

Numeric vector.

coef

A coefficient which determines the classification of an outlier. Use 0 for no outliers to be identified.

Value

Logical vector with the length of x.

Author(s)

Stuart K. Grange.

See Also

boxplot.stats.


skgrange/threadr documentation built on May 11, 2024, 12:16 p.m.