Skip to content

It allows to cut tails simultaneously or single-sided (lower bound, upper bound). Quantiles range from 0 to 1.

Usage

trim_q(x, lowbound = 0, upbound = 1)

Arguments

x

is a numeric vector or variable.

lowbound

lower bound percentile (in decimals).

upbound

upper bound percentile (in decimals).

Value

a shorter or equal length vector.

Author

Alejandro Abraham a.abraham@innovationteam.eu