out_flag: Identifying possible outliers.

Description Usage Arguments Value See Also Examples

Description

The function identifies possible outliers based on the median ± 2.5 mad range criterion. This function is used internally by the calc.ratios function.

Usage

1

Arguments

x

A vector of numeric data.

Value

A logical vector. TRUE indicates that the corresponding value is outside the median ± 2.5 mad range.

See Also

calc_ratios

Examples

1
2
a <- rnorm(100)
b <- out_flag(a)

andreabz/pbratios documentation built on May 12, 2019, 2:42 a.m.