View source: R/draw_intensity_step.R
draw_intensity_step | R Documentation |
Sample NHPPP times using the thinning method
draw_intensity_step(lambda, majorizer_vector, time_breaks, atmost1 = FALSE)
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 |
a vector of event times (t_); if no events realize, a vector of length 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.