autoscale {structToolbox}R Documentation

Autoscale

Description

Autoscaling centres the columns of the data in a DatasetExperiment object and divides by the standard deviation.

Usage

autoscale(mode = "data", ...)

Arguments

mode

Used to control whether centring is apply to the data, the meta data or both. Can be any one of "data","sample_meta" or "both". default is "data".

...

additional slots and values passed to struct_class

Value

A STRUCT model object with methods for autoscaling.

struct object

Examples

D = iris_DatasetExperiment()
M = autoscale()
M = model_train(M,D)
M = model_predict(M,D)

[Package structToolbox version 1.0.1 Index]