ztdraw_sc_loglinear {nhppp} | R Documentation |
Sample zt-NHPPP times from an log-linear intensity function
using the inversion method, optionally using an rstream
generator
ztdraw_sc_loglinear(
alpha = 1,
beta = 0,
range_t = c(0, 10),
rng_stream = NULL,
atmost1 = FALSE
)
alpha |
(double) the intercept in the exponent |
beta |
(double) the slope in the exponent |
range_t |
(vector, double) min and max of the time interval |
rng_stream |
( |
atmost1 |
boolean, 1 event time |
a vector of at least 1 event times
x <- ztdraw_sc_loglinear(alpha = 0, beta = 0.2)