ppp_n: Simulate specific number of points from a homogeneous Poisson...

View source: R/ppp_n.R

ppp_nR Documentation

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)

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

Value

a vector of event times of size size

Examples

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

nhppp documentation built on Oct. 30, 2024, 9:28 a.m.