vztdraw_sc_step_regular_R {nhppp} | R Documentation |
Simulate a piecewise constant-rate Poisson Point Process over (t_min, t_max]
(inversion method)
where the intervals have the same length (are "regular").
vztdraw_sc_step_regular_R(
Lambda_matrix = NULL,
lambda_matrix = NULL,
range_t = c(0, 10),
atmost1 = FALSE,
...
)
Lambda_matrix |
(matrix) integrated intensity rates at the end of each interval |
lambda_matrix |
(matrix) intensity rates, one per interval |
range_t |
(vector, double) |
atmost1 |
boolean, draw at most 1 event time |
... |
(any) other arguments (ignored – used for flexibility in calling from other functions) |
a vector of event times t if no events realize, it will have 0 length
x <- vztdraw_sc_step_regular_R(Lambda_matrix = matrix(1:5, nrow = 1))