simulateNHPP: Simulates event times from an inhomogenous Poisson process on...

Description Usage Arguments Value Author(s) Examples

View source: R/simulateNHPP.R

Description

Simulates event times from an inhomogenous Poisson process on [0,T]

Usage

1
simulateNHPP(targetfn, maxintensity, T = Inf)

Arguments

targetfn

A first order function defining the process intensity

maxintensity

The maximum values of targetfn

T

Length of the interval [0,T] on which to simulate the process

Value

The simulated event times

Author(s)

Gordon J Ross

Examples

1
2
simulateNHPP(function(x) {sin(x)+1}, 2, 100)
simulateNHPP(function(x) {x^2}, 100, 10)

bayesianETAS documentation built on May 29, 2017, 9:06 a.m.