lpp {spatstat} | R Documentation |
Creates an object of class "lpp"
that represents
a point pattern on a linear network.
lpp(X, L)
X |
Locations of the points. A matrix or data frame of coordinates,
or a point pattern object (of class
|
L |
Linear network (object of class |
This command creates an object of class "lpp"
that represents
a point pattern on a linear network. The points of X
should lie
on the lines of L
.
An object of class "lpp"
.
Also inherits the class "ppx"
.
Ang Qi Wei aqw07398@hotmail.com and Adrian Baddeley Adrian.Baddeley@csiro.au http://www.maths.uwa.edu.au/~adrian/
methods.lpp
and
methods.ppx
for methods applicable
to lpp
objects.
linnet
for linear networks.
Random point patterns on a linear network can be generated by
rpoislpp
or runiflpp
.
example(linnet) xx <- list(x=c(-1.5,0,0.5,1.5), y=c(1.5,3,4.5,1.5)) X <- lpp(xx, letterA) plot(X) X summary(X)