Learn R Programming

nhppp (version 1.0.2)

ppp_n: Simulate specific number of points from a homogeneous Poisson Point Process over (t_min, t_max]

Description

[Deprecated] Use ppp_exactly_n instead.

Usage

ppp_n(size, range_t = c(0, 10), rng_stream = NULL)

Value

a vector of event times of size size

Arguments

size

(int) the number of points to be simulated

range_t

(vector, double) min and max of the time interval

rng_stream

an rstream object

Examples

Run this code
x <- ppp_n(size = 10, range_t = c(0, 10))

Run the code above in your browser using DataLab