Skip to contents

Outliers are < Q1-1.5IQR or > Q3+1.5IQR

Usage

getOutliersInd(x)

Arguments

x

A numeric vector or matrix

Value

A list of two int vectors

  1. indices of outliers at the low end

  2. indices of outliers at the high end

Examples

getOutliersInd(c(1,100:110,1000))
#> $low
#> [1] 1
#> 
#> $high
#> [1] 13
#>