apply_quantile_scale: Apply a quantile scale.

View source: R/scaling.R

apply_quantile_scaleR Documentation

Apply a quantile scale.

Description

Anything outside the range of [0, 1] will be set to 0 or 1.

Usage

apply_quantile_scale(x, addend, multiplier)

Arguments

x

A numeric vector, matrix or data frame.

addend

A minimum vector for each column

multiplier

A scaling vector for each column

Value

The scaled matrix or vector. The numeric centering and scalings used are returned as attributes.


dynutils documentation built on Oct. 11, 2022, 5:07 p.m.