ppp_orderstat {nhppp}R Documentation

Simulate a homogeneous Poisson Point Process over (t_min, t_max] (order statistics method)

Description

Simulate a homogeneous Poisson Point Process over (t_min, t_max] (order statistics method)

Usage

ppp_orderstat(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 rstream object

atmost1

boolean, draw at most 1 event time

Value

a vector of event times t if no events realize, it will have 0 length

Examples

x <- ppp_orderstat(range_t = c(0, 10), rate = 1)

[Package nhppp version 0.1.4 Index]