
A function to revert the value that has been done by variance/ . standardization scaling method.
varianceDescaling(dataSet, varianceParameter)
a data.frame that representing dataset (
a matrix that has value of variance scaling
parameter, such as mean value and standard deviation value of
data that can be used to restore the original value of dataset.
This parameter is exclusively produced by varianceScaling
function.
a data.frame representing reverted dataset value
This function changes the value of variance scaled dataset that
produced by varianceScaling
function and represented
by data.frame object.
# NOT RUN {
##################################
## Revert Variance Scaling
## load R Package data
data(gradDescentRData)
## get z-factor Data
dataSet <- gradDescentRData$CompressilbilityFactor
fsr <- varianceScaling(dataSet)
rfsr <- varianceDescaling(fsr$scaledDataSet, fsr$scalingParameter)
# }
Run the code above in your browser using DataLab