apply_uniform_scale: Apply a uniform scale
Description
Apply a uniform scale
Usage
apply_uniform_scale(x, addend, multiplier)
Arguments
x
A numeric vector, matrix or data frame.
addend
A centering vector for each column
multiplier
A scaling vector for each column
Value
The centered, scaled matrix. The numeric centering and scalings used are returned as attributes.