ztppp {nhppp} | R Documentation |
Simulate a zero-truncated homogeneous Poisson Point Process over (t_min, t_max]
Description
Simulate a zero-truncated homogeneous Poisson Point Process over (t_min, t_max]
Usage
ztppp(range_t = c(0, 10), rate = 1, rng_stream = NULL, atmost1 = FALSE)
Arguments
range_t |
(vector, double) min and max of the time interval |
rate |
(scalar, double) constant instantaneous rate |
rng_stream |
an |
atmost1 |
boolean, draw at most 1 event time |
Value
a vector of event times of size size
Examples
x <- ztppp(range_t = c(0, 10), rate = 0.001)
[Package nhppp version 0.1.4 Index]