draw_intensity_step {nhppp} | R Documentation |
Simulate from a non homogeneous Poisson Point Process (NHPPP) from (t0, t_max) (thinning method) with piecewise constant_majorizer
Description
Sample NHPPP times using the thinning method
Usage
draw_intensity_step(lambda, majorizer_vector, time_breaks, atmost1 = FALSE)
Arguments
lambda |
(function) the instantaneous rate of the NHPPP. A continuous function of time. |
majorizer_vector |
(scalar, double) |
time_breaks |
(vector, double) |
atmost1 |
boolean, draw at most 1 event time |
Value
a vector of event times (t_); if no events realize, a vector of length 0
[Package nhppp version 1.0.2 Index]