Learn R Programming

PhenStat (version 2.6.0)

performReverseTransformation: Method "performReverseTransformation"

Description

Reverse back the transformed values according to the lambda value: exponential transformation if the lambda is 0, fractional power transformation otherwise

Usage

performReverseTransformation(values, lambda, scaleShift)

Arguments

values
vector of values to reverse
lambda
lambda value of Box-Cox transformation
scaleShift
sclae shift value of Box-Cox transformation

Value

Returns values transformed back to original scale.

Examples

Run this code
    performReverseTransformation(c(-5.7312462,1.3166139,-0.8921497),-0.7,0)

Run the code above in your browser using DataLab