powered by
Computes the midpoints of each line segment in a line segment pattern.
midpoints.psp(x)
Point pattern (object of class "ppp").
"ppp"
A line segment pattern (object of class "psp").
"psp"
Adrian Baddeley Adrian.Baddeley@curtin.edu.au
and Rolf Turner rolfturner@posteo.net
The midpoint of each line segment is computed.
marks.psp, summary.psp, lengths_psp angles.psp, endpoints.psp, extrapolate.psp.
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)
Run the code above in your browser using DataLab