midpoints.psp {spatstat.geom} | 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 |
The midpoint of each line segment is computed.
Point pattern (object of class "ppp"
).
Adrian Baddeley Adrian.Baddeley@curtin.edu.au
and Rolf Turner rolfturner@posteo.net
marks.psp
,
summary.psp
,
lengths_psp
angles.psp
,
endpoints.psp
,
extrapolate.psp
.
a <- psp(runif(10), runif(10), runif(10), runif(10), window=owin())
b <- midpoints.psp(a)