preprocess | R Documentation |
preprocess
and postprocess
are generic functions for
preprocessing and postprocessing time series data, respectively, based on
a particular transformation method defined in a processing
object.
Generally, postprocessing reverses the transformation performed during preprocessing.
preprocess(obj, ...)
## S3 method for class 'processing'
preprocess(obj, data, ..., map = TRUE)
postprocess(obj, ...)
## S3 method for class 'processing'
postprocess(obj, data, ..., map = TRUE)
obj |
An object of class |
... |
Other parameters passed to |
data |
A list of time series to be transformed. |
map |
Should the transformation be performed in each individual time series?
If |
A list containing obj
and the transformed time series.
Rebecca Pontes Salles
data(NN5.A)
t <- LT(base = exp(1))
prep_ts <- preprocess(t,list(NN5.A[,10]))$results[[1]]$res
postp_ts <- postprocess(t,list(prep_ts))$results[[1]]$res
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.