scale_zscore: Z-Score Scaling

View source: R/deepScaling.r

scale_zscoreR Documentation

Z-Score Scaling

Description

Z-Score Scaling

Usage

scale_zscore(x, use_attr = TRUE, invert = FALSE, meanx = NULL, sdx = NULL)

Arguments

x

A numeric object whose elements should be scaled thru z-score scaling.

use_attr

A logical value indicating whether scaling factors mean and sd are stored as named attributes of the scaled x.

invert

A logical value indicating the direction of scaling. If set to TRUE, x is already scaled and scaling will be inverted.

meanx

A given mean value for scaling. If this value is NULL the mean of x is used.

sdx

A given standard deviation value for scaling. If this value is NULL the standard deviation of x is used.

Value

Transformed x with z-score scaled values.

See Also

scaling.

Other Scaling: scale_center(), scale_dataset(), scale_log(), scale_minmax(), scale_train_test(), scaling()


stschn/deepANN documentation built on June 25, 2024, 7:27 a.m.