Learn R Programming

QPBoot (version 0.2)

setSimulate-tsModel: Sets the simulation Method of a tsModel-class

Description

Defines the method that will be used when calling Simulate on the tsModel-class. The passed Simulate function must have exactly the following three arguments: n (numeric), spec (a list) and par (another list). It returns a numeric vector with the simulated data.

Usage

# S4 method for tsModel
setSimulate(object, Simulate)

Arguments

object

the tsModel-class for that the estimation method shall be defined

Simulate

a function that has exactly three argumens: n (numeric), spec (a list) and par (another list).

Value

Nothing, it sets the sim_function slot of the tsModel-class.