R: Apply a uniform scale

apply_uniform_scale {dynutils} | R Documentation

## 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.

[Package dynutils version 1.0.5 Index]