winsor: Winsorize a vector

Description Usage Arguments Value Author(s)

View source: R/winsor.R

Description

Winsorising a vector: any value higher(lower) than 'u'('l') are changed to 'u'('l').

Usage

1
winsor(x, u = 5, l = NULL)

Arguments

x

the input to winsorize.

u

the highest value desired.

l

the lowest value desired.

Value

a vector with winsorized values.

Author(s)

Jean Monlong


jmonlong/PopSV documentation built on Sept. 1, 2018, 12:04 p.m.