remove.outliers: Remove outliers from a vector

Description Usage Arguments Value Examples

View source: R/remove_outliers.R

Description

Removes the outliers from a numeric vector & ignores NA values.

Usage

1
remove.outliers(x, multiplier = 1.5)

Arguments

x

A numeric vector

multiplier

step multiplier, defaults to 1.5

Value

A numeric vector without outliers & NA values

Examples

1
2
x <- c(4,5,5,8,8,9,5,2,5,6,7,8,4,5,99)
remove.outliers(x)

TimothyWillard/timsrutils documentation built on June 24, 2018, 5:18 a.m.