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

Description Usage Arguments Value

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

1
2
## S4 method for signature '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.


stefanbirr/QPBoot documentation built on May 30, 2019, 10:43 a.m.