Skip to contents

This function will identify outliers using the standard deviation.

Usage

sdOutlier(x, na.rm = TRUE, thresh)

Arguments

x

A numerical vector to perform outlier removal on.

na.rm

Logical, if TRUE, NAs are removed from the claculation.

thresh

Numeric, a constant to multiply the SD by for detecting outiers.

Value

A vector with outliers set the NA.