scale_minmax: Min-Max Scaling

View source: R/deepScaling.r

scale_minmaxR Documentation

Min-Max Scaling

Description

Min-Max Scaling

Usage

scale_minmax(x, use_attr = TRUE, invert = FALSE, minx = NULL, maxx = NULL)

Arguments

x

A numeric object whose elements should be scaled thru min-max scaling.

use_attr

A logical value indicating whether scaling factors min and max 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.

minx

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

maxx

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

Value

Transformed x with min-max scaled values between 0 and 1.

See Also

scaling.

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


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