Skip to contents

scale_quantile_adapted Normalize values in a vector by quantile scaling. Add a pseudovalue of 0.001 to avoid having a score of 0 for the lowest value.

Usage

scale_quantile_adapted(x, outlier_cutoff = 0)

Arguments

x

A numeric vector.

outlier_cutoff

The quantile cutoff for outliers (default 0).

Value

A quantile-scaled numeric vector.

Examples

if (FALSE) { # \dontrun{
scale_quantile_adapted(rnorm(5))
} # }