modl.tsToDataFrame {predtoolsTS} | R Documentation |
Ts to data frame transformation
Description
Transform a ts object into a data frame using the given formula.
Usage
modl.tsToDataFrame(tserie, formula = NULL)
Arguments
tserie |
A ts object. |
formula |
An integer vector. Contains the indexes from the |
Value
the time serie as data frame
Author(s)
Alberto Vico Moreno
Examples
modl.tsToDataFrame(AirPassengers,formula=c(1,3,4,5,6,7))
modl.tsToDataFrame(AirPassengers,formula=c(1:20))
[Package predtoolsTS version 0.1.1 Index]