draw_intensity_line {nhppp} | R Documentation |
Simulate from a non homogeneous Poisson Point Process (NHPPP) from (t0, t_max) (thinning method)
Description
Sample NHPPP times using the thinning method
Usage
draw_intensity_line(
lambda,
majorizer_intercept,
majorizer_slope,
t_min,
t_max,
majorizer_is_loglinear = FALSE,
atmost1 = FALSE
)
Arguments
lambda |
(function) the instantaneous rate of the NHPPP. |
majorizer_intercept |
(double) the intercept ( |
majorizer_slope |
(double) the slope (‘beta’) of the loglinear majorizer function. |
t_min |
(double) the lower bound of the time interval. |
t_max |
(double) the upper bound of the time interval. |
majorizer_is_loglinear |
(boolean) if |
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.0 Index]