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(rate, t_min, t_max, atmost1 = FALSE)
Arguments
rate |
(scalar, double) constant instantaneous rate |
t_min |
(scalar, double) lower bound of the time interval |
t_max |
(scalar, double) upper bound of the time interval |
atmost1 |
boolean, draw at most 1 event time |
Value
a vector of event times of size size
Examples
x <- ztppp(t_min = 0, t_max = 10, rate = 0.001)
[Package nhppp version 1.0.2 Index]