censor_dat: censor dat remove the outliers on the upper side by capping...

Description Usage Arguments Value

View source: R/library.R

Description

censor dat remove the outliers on the upper side by capping the values at the provided quantile

Usage

1
censor_dat(x, quant = 0.999, symmetric = F)

Arguments

x

values to censor

quant

quantile to censor, i.e. how many percent of values are considered outliers

symmetric

censor on both side. In this case the outliers are assumed to be symetric on both sides. For example if a quantile of 5% (0.05) is choosen, in the symetric case 2.5% (0.025) of values are censored on both sides.

Value

returns the percentile of each value of x


BodenmillerGroup/bbRtools documentation built on May 20, 2020, 1:36 a.m.