Remove outliers

remove.outliers(x, factor = 1.5)

Arguments

x

a numeric vector

factor

default 1.5

Value

a numeric vector

Examples

remove.outliers(c(1, 10:15))
#> [1] 10 11 12 13 14 15