winsorize: Winsorize vector

Description Usage Arguments Value

View source: R/utils.R

Description

Set outliers in a numeric vector to a specified percentile (this function is borrowed from splatter).

Usage

1

Arguments

x

Numeric vector to winsorize

q

Percentile to set from each end

Value

Winsorized numeric vector


JINJINT/ESCO documentation built on May 13, 2021, 7:25 p.m.