Learn R Programming

TSPred (version 5.1.1)

processing: Time series data processing

Description

Constructor for the processing class representing a time series processing method based on a particular time series transformation.

Usage

processing(
  prep_func,
  prep_par = NULL,
  postp_func = NULL,
  postp_par = NULL,
  ...,
  subclass = NULL
)

Value

An object of class processing.

Arguments

prep_func

A function for preprocessing the time series data.

prep_par

List of named parameters required by prep_func.

postp_func

A function for postprocessing the time series data. Generally reverses the transformation performed by prep_func.

postp_par

List of named parameters required by postp_func.

...

Other parameters to be encapsulated in the class object.

subclass

Name of new specialized subclass object created in case it is provided.

Author

Rebecca Pontes Salles

See Also

Other constructors: ARIMA(), LT(), MSE_eval(), evaluating(), modeling(), tspred()

Examples

Run this code
base <- exp(1)
lt <- processing(prep_func=TSPred::LogT, prep_par=list(base=base),
                 postp_func=TSPred::LogT.rev, postp_par=list(base=base),
                 method="Logarithmic transform", subclass="LT")
summary(lt)

Run the code above in your browser using DataLab