rgnpp: Random Points on a Geometric Network

View source: R/simulation.R

rgnppR Documentation

Random Points on a Geometric Network

Description

Random Points on a Geometric Network

Usage

rgnpp(n, fit)

Arguments

n

Number of random points. A nonnegative integer.

fit

A fitted point process on a geometric network (object of class gnppfit).

Value

A point pattern on a geometric network, an object of class gnpp.

Examples

X <- runifgn(n = 50, G = small_gn)
fit <- intensity_pspline(X)
X2 <- rgnpp(n = 50, fit = fit)
plot(X2)

geonet documentation built on July 11, 2022, 9:08 a.m.