| distmap.lpp {spatstat.linnet} | R Documentation |
Computes the distance from each pixel to the nearest point in the given point pattern on a linear network.
## S3 method for class 'lpp'
distmap(X, ..., k=1)
X |
A point pattern on a linear network (object of class |
k |
Integer. The distance to the |
... |
Arguments passed to |
This is a method for the generic function distmap.
It computes the distance map of the point pattern X
as a pixel image on the network.
At a pixel u, the greyscale value
equals the distance from u to the
nearest point of the pattern X (or the k-th nearest point
of X).
A pixel image on the network (object of class "linim")
whose greyscale values are the values of the distance map.
Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner r.turner@auckland.ac.nz and Ege Rubak rubak@math.aau.dk.
Generic function distmap and methods.
plot(distmap(spiders))