View source: R/draw_intensity_line.R
draw_intensity_line | R Documentation |
Sample NHPPP times using the thinning method
draw_intensity_line(
lambda,
majorizer_intercept,
majorizer_slope,
t_min,
t_max,
majorizer_is_loglinear = FALSE,
atmost1 = FALSE
)
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 |
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.