omit.outliers: Function that will find outliers in a vector (default: > 3 SD...

Description Usage Arguments Value Examples

View source: R/omit.outliers.R

Description

Function that will find outliers in a vector (default: > 3 SD from mean), set them to be NAs, and return the vector

Usage

1
omit.outliers(x, sd = 3)

Arguments

x

A numeric vector

Value

The same vector, with outliers changed to be NAs

Examples

1

syyang93/yangR documentation built on March 1, 2021, 4:55 p.m.