prepro_sub {MOSS}R Documentation

Scale and normalize columns of a matrix.

Description

This function is called by moss to scale and normalize (extended) matrices.

Usage

prepro_sub(X, scale.arg, norm.arg)

Arguments

X

An object of class 'matrix', 'FBM', or 'array'.

scale.arg

Should we scale columns? Logical.

norm.arg

Should we normalize columns? Logical.

Details

Ment for objects of class 'matrix', 'FBM', or 'array'.

Value

A matrix with scaled and/or normalized columns.


[Package MOSS version 0.2.2 Index]