descale: Restore a scaled matrix to a matrix with original parameters.

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Restore a scaled matrix to a matrix with original parameters.

Usage

1
descale(X, scaled)

Arguments

X

a matrix or a data.frame to be restored

scaled

a scaled matrixa or a scaled data.frame

Value

a tibble

Examples

1
2
3
iris.scaled <- scale(iris[, -5])
descale(head(iris.scaled), iris.scaled)
head(iris)

katokohaku/featureTweakR documentation built on May 17, 2019, 11:17 p.m.