performTransformation {PhenStat} | R Documentation

## Method "performTransformation"

### Description

Transforms the given vector of values according to the lambda value: log transformation if the lambda is 0, power transformation otherwise

### Usage

        performTransformation(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 according to Box-Cox rules.

### Author(s)

Natalja Kurbatova

### Examples

        PhenStat:::performTransformation(c(0.1,38,0.5),-0.7,0)

[Package PhenStat version 2.18.0 Index]