Learn R Programming

spatstat (version 1.23-1)

rpoislpp: Poisson Point Process on a Linear Network

Description

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", see linnet).
...
Arguments passed to rpoisppOnLines.

Value

  • A point pattern on the linear network, i.e. an object of class "lpp".

Details

This function uses rpoisppOnLines to generate the random points.

See Also

runiflpp, lpp, linnet

Examples

Run this code
data(simplenet)
   X <- rpoislpp(5, simplenet)
   plot(X)

Run the code above in your browser using DataLab