series-methods

0th

Percentile

Get and Set Data of a 'timeSeries'

series returns the @.Data slot of a timeSeries object in matrix form. New series can also be assign to an already existing timeSeries. coredata is a synonyme function nameing for series.

Keywords
programming
Usage
series(x) series(x) <- value
Arguments
x
a timeSeries object.
value
a vector, a data.frame or a matrix object of numeric data.
See Also

timeSeries()

Aliases
  • series
  • series<-
  • series,timeSeries-method
  • series<-,timeSeries,matrix-method
  • series<-,timeSeries,ANY-method
  • series<-,timeSeries,data.frame-method
  • series<-,timeSeries,vector-method
  • coredata
  • coredata<-
  • coredata,timeSeries-method
  • coredata<-,timeSeries,matrix-method
  • coredata<-,timeSeries,ANY-method
  • coredata<-,timeSeries,data.frame-method
  • coredata<-,timeSeries,vector-method
Examples
library(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
Documentation reproduced from package timeSeries, version 3022.101.2, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.