Learn R Programming

dynutils (version 1.0.11)

apply_uniform_scale: Apply a uniform scale

Description

Apply a uniform scale

Usage

apply_uniform_scale(x, addend, multiplier)

Value

The centered, scaled matrix. The numeric centering and scalings used are returned as attributes.

Arguments

x

A numeric vector, matrix or data frame.

addend

A centering vector for each column

multiplier

A scaling vector for each column