midpoints.psp {spatstat} | R Documentation |
Computes the midpoints of each line segment in a line segment pattern.
midpoints.psp(x)
x |
A line segment pattern (object of class "psp" ).
|
The midpoint of each line segment is computed.
Point pattern (object of class "ppp"
).
Adrian Baddeley adrian@maths.uwa.edu.au http://www.maths.uwa.edu.au/~adrian/ and Rolf Turner rolf@math.unb.ca http://www.math.unb.ca/~rolf
summary.psp
,
lengths.psp
,
angles.psp
a <- psp(runif(10), runif(10), runif(10), runif(10), window=owin()) b <- midpoints.psp(a)