merge

0th

Percentile

Merges two 'timeSeries' objects

Merges several object types with 'timeSeries' objects. The number of rows must match.

Keywords
chron
Details

The following combinations are supported:

timeSeries
ANY
timeSeries
missing
timeSeries
numeric
timeSeries
matrix

Value

Returns a 'timeSeries' object of two merged time series.

Aliases
  • merge
  • merge,ANY,timeSeries-method
  • merge,timeSeries,ANY-method
  • merge,timeSeries,missing-method
  • merge,timeSeries,numeric-method
  • merge,timeSeries,matrix-method
  • merge,timeSeries,timeSeries-method
  • merge,matrix,timeSeries-method
  • merge,numeric,timeSeries-method
Examples
library(timeSeries) ## Load Series - x <- MSFT[1:12, ] ## Merge 'timeSeries' with missing Object - merge(x) ## Merge 'timeSeries' with numeric Object - y <- rnorm(12) class(y) merge(x, y) ## Merge 'timeSeries' with matrix Object - y <- matrix(rnorm(24), ncol=2) class(y) merge(x, y) ## Merge 'timeSeries' with matrix Object - y <- timeSeries(data=rnorm(12), charvec=time(x)) class(y) merge(x, y)
Documentation reproduced from package timeSeries, version 3022.101.2, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.