Learn R Programming

multivarious (version 0.2.0)

colscale: scale a data matrix

Description

normalize each column by a scale factor.

Usage

colscale(preproc = prepper(), type = c("unit", "z", "weights"), weights = NULL)

Value

a prepper list

Arguments

preproc

the pre-processing pipeline

type

the kind of scaling, unit norm, z-scoring, or precomputed weights

weights

optional precomputed weights