replace_outliers: Replaces outliers from a vector and returns a new vector

View source: R/data_manipulation_fcts.R

replace_outliersR Documentation

Replaces outliers from a vector and returns a new vector

Description

Replaces outliers from a vector and returns a new vector

Usage

replace_outliers(col_in, my_prob = 0.05)

Arguments

col_in

The vector

my_prob

Probability of quantiles (will remove quantiles at p and 1-p)

Value

A vector without the outliers

Examples

x <- afedR_replace_outliers(runif(100))

msperlin/afedR documentation built on Sept. 11, 2022, 9:49 a.m.