Skip to contents

This function centers a numeric vector by subtracting its minimum (and optionally scaling by SD).

Usage

o.center(d)

Arguments

d

A numeric vector to center.

use.sd

Logical indicating whether to scale by standard deviation (default FALSE).

Value

A scaled numeric vector.