powered by
Sample zt-NHPPP times from an log-linear intensity function
ztdraw_sc_loglinear(intercept, slope, t_min, t_max, atmost1 = FALSE)
a vector of at least 1 event times
(double) the intercept in the exponent
(double) the slope in the exponent
(double) the lower bound of the time interval
(double) the upper bound of the time interval
boolean, 1 event time
x <- ztdraw_sc_loglinear(intercept = 0, slope = 0.2, t_min = 0, t_max = 10)
Run the code above in your browser using DataLab