Poisson Point Process on a Linear Network
Generates a realisation of the Poisson point process with specified intensity on the given linear network.
rpoislpp(lambda, L, ..., nsim=1, drop=TRUE)
lambda |
Intensity of the Poisson process.
A single number, a |
L |
A linear network (object of class |
... |
Arguments passed to |
nsim |
Number of simulated realisations to generate. |
drop |
Logical value indicating what to do when |
This function uses rpoisppOnLines
to generate the random points.
Argument L can be omitted, and defaults to as.linnet(lambda),
when lambda is a function on a linear network (class
"linfun") or a pixel image on a linear network ("linim").
If nsim = 1 and drop=TRUE,
a point pattern on the linear network,
i.e.\ an object of class "lpp".
Otherwise, a list of such point patterns.
Ang Qi Wei aqw07398@hotmail.com and Adrian Baddeley Adrian.Baddeley@curtin.edu.au
X <- rpoislpp(5, simplenet) plot(X) # multitype X <- rpoislpp(c(a=5, b=5), simplenet)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.