transform_data: Apply a transformation on the data

Description Usage Arguments

Description

Apply a transformation on the data

Usage

1
2
3
4
5
6
transform_data(
  original_data,
  transformed_ts = NULL,
  transf_method = "diff",
  apply_transform = TRUE
)

Arguments

original_data

A 'ts' or 'xts' object, data to apply transformation on

transformed_ts

A 'ts' or 'xts' object, data on which the transformation has been applied on

transf_method

A string, method of data transformation

apply_transform

boolean, if TRUE the data will be transformed, else the transformation will be undone.


xavierkamp/tsForecastR documentation built on Feb. 1, 2020, 10:16 a.m.