Sample NHPPP times using the inversion method
draw_cumulative_intensity(
Lambda,
Lambda_inv,
t_min,
t_max,
atmost1 = FALSE,
report_first_K = NULL,
report_last_K = NULL,
atleast1 = FALSE,
generate_at_least_K = NULL,
generate_at_most_K = NULL
)a vector of event times (t_); if no events realize, a vector of length 0
(function, double vector) a continuous increasing R to R map which is the integrated rate of the NHPPP
(function, double vector) the inverse of Lambda()
(double) the lower bound of the time interval
(double) the upper bound of the time interval
boolean, report at most 1 event time (alias for
report_first_K = 1)
NULL or a positive integer: report only the
earliest K event times (reporting truncation — the count law is
unchanged).
NULL or a positive integer: report only the latest
K event times (ascending order; reporting truncation).
boolean, condition on at least 1 event (alias for
generate_at_least_K = 1)
NULL or a positive integer: condition the
sampled process on at least K events.
NULL or a positive integer: condition the
sampled process on at most K events.