Learn R Programming

predtoolsTS (version 0.1.1)

prep.homogenize.boxcox: Box-Cox transformation

Description

Performs a Box-Cox transformation to a time serie.

Usage

prep.homogenize.boxcox(tserie)

Arguments

tserie

a ts object

Value

A list is returned containing:

boxcox

Transformed ts object.

lambda

Lambda value.

References

Box-Cox transformation: https://en.wikipedia.org/wiki/Power_transform#Box.E2.80.93Cox_transformation

Examples

Run this code
# NOT RUN {
prep.homogenize.log(AirPassengers)
# }

Run the code above in your browser using DataLab