Learn R Programming

gmwmx2 (version 0.0.5)

+.sum_model: Add to a sum_model object

Description

Add to a sum_model object

Usage

# S3 method for sum_model
+(e1, e2)

Value

A sum_model.

Arguments

e1

Left operand.

e2

Right operand.

Examples

Run this code
m1 <- wn(sigma2 = 1)
m2 <- ar1(phi = 0.8, sigma2 = 0.5)
m3 <- pl(kappa = 0.3, sigma2 = 2)
model <- (m1 + m2) + m3

Run the code above in your browser using DataLab