rpoislpp {spatstat}R Documentation

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.

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".

Author(s)

Ang Qi Wei aqw07398@hotmail.com and Adrian Baddeley Adrian.Baddeley@csiro.au http://www.maths.uwa.edu.au/~adrian/

See Also

runiflpp, lpp, linnet

Examples

   data(simplenet)
   X <- rpoislpp(5, simplenet)
   plot(X)

[Package spatstat version 1.25-3 Index]