outlier: This function gets a vector and returns a vector of logical...

View source: R/mltools.R

outlierR Documentation

This function gets a vector and returns a vector of logical which is TRUE if the corresponding value is an outlier

Description

This function gets a vector and returns a vector of logical which is TRUE if the corresponding value is an outlier

Usage

outlier(x, sd_threshold = 4, recursive = F)

Value

logical vector specifying which element of the given vector x is outlier.

Fields

x

numeric : Input vector

sd_threshold

numeric : Standard Deviation threshold as a criteria for outlier determination.

recursive

logical : TRUE if the process of outlier detection should continue with eliminated outliers


genpack/maler documentation built on Jan. 27, 2025, 1:23 p.m.