Learn R Programming

nhppp (version 1.0.2)

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

Description

[Deprecated] Use ppp2 instead.

Usage

ppp_orderstat(range_t = c(0, 10), rate = 1, rng_stream = NULL, atmost1 = FALSE)

Value

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

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

Examples

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

Run the code above in your browser using DataLab