Learn R Programming

simts (version 0.2.2)

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

Description

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

Usage

# S3 method for ts.model
+(x, y)

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)

Arguments

x

A ts.model object

y

A ts.model object

Author

James Balamuta

Examples

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

Run the code above in your browser using DataLab