powered by
Sample zt-NHPPP times from an log-linear intensity function
ztdraw_sc_loglinear( intercept, slope, t_min, t_max, atmost1 = FALSE, report_first_K = NULL, report_last_K = NULL, generate_at_least_K = 1, generate_at_most_K = NULL )
a vector of event times of the conditioned process
(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, report at most 1 event time of the conditioned process (alias for report_first_K = 1)
report_first_K = 1
NULL or a positive integer: report only the earliest K event times of the conditioned realization.
NULL
NULL or a positive integer: report only the latest K event times of the conditioned realization (ascending order).
non-negative integer: condition on at least K events in the interval. The default 1 is the zero-truncated process.
NULL or a positive integer: condition on at most K events.
x <- ztdraw_sc_loglinear(intercept = 0, slope = 0.2, t_min = 0, t_max = 10)
Run the code above in your browser using DataLab