Learn R Programming

gmwm (version 2.0.0)

+.ts.model: Add ts.model objects together

Description

Sets up the necessary backend for combining ts.model objects.

Usage

"+"(x, y)

Arguments

x
A ts.model object
y
A ts.model object

Value

An S3 object with called ts.model with the following structure:
  • process.desccombined x, y desc
  • thetacombined x, y theta
  • plengthNumber of Parameters
  • descAdd process to queue e.g. c("AR1","WN")
  • obj.descDepth of Parameters e.g. list(1, c(1,1), c(length(ar),length(ma),1) )
  • startingGuess Starting values? TRUE or FALSE (e.g. specified value)

Examples

Run this code
DR()+WN()
AR1(phi=.3,sigma=.2)

Run the code above in your browser using DataLab