lengths.psp {spatstat} | R Documentation |
Computes the length of each line segment in a line segment pattern.
lengths.psp(x)
x |
A line segment pattern (object of class |
The length of each line segment is computed and the lengths are returned as a numeric vector.
Numeric vector.
Adrian Baddeley Adrian.Baddeley@csiro.au http://www.maths.uwa.edu.au/~adrian/ and Rolf Turner r.turner@auckland.ac.nz
summary.psp
,
midpoints.psp
,
angles.psp
a <- psp(runif(10), runif(10), runif(10), runif(10), window=owin()) b <- lengths.psp(a)