simulateNHPP {bayesianETAS} | R Documentation |
Simulates event times from an inhomogenous Poisson process on [0,T]
simulateNHPP(targetfn, maxintensity, T = Inf)
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 |
The simulated event times
Gordon J Ross
simulateNHPP(function(x) {sin(x)+1}, 2, 100)
simulateNHPP(function(x) {x^2}, 100, 10)