rpoislpp
From spatstat v1.27-0
by Adrian Baddeley
Poisson Point Process on a Linear Network
Generates a realisation of the Poisson point process with specified intensity on the given linear network.
Usage
rpoislpp(lambda, L, ...)
Arguments
- lambda
- Intensity of the Poisson process.
A single number, a
function(x,y)
, or a pixel image (object of class"im"
). - L
- A linear network (object of class
"linnet"
, seelinnet
). - ...
- Arguments passed to
rpoisppOnLines
.
Details
This function uses rpoisppOnLines
to generate the random points.
Value
- A point pattern on the linear network,
i.e. an object of class
"lpp"
.
See Also
Examples
data(simplenet)
X <- rpoislpp(5, simplenet)
plot(X)
Community examples
Looks like there are no examples yet.