series-methods {timeSeries} | R Documentation |
series
returns Data
slot a timeSeries
object in a
matrix
form. New series can also be assign to the timeSeries
.
series(x) series(x) <- value
x |
a |
value |
a |
timeSeries()
## A Dummy timeSeries Object ts <- timeSeries() ts ## Get the Matrix Part - mat <- series(ts) class(mat) mat ## Assign a New Univariate Series - series(ts) <- rnorm(12) ts ## Assign a New Bivariate Series - series(ts) <- rnorm(12) ts