Computes the midpoints of each line segment
in a line segment pattern.
A line segment pattern (object of class "psp").
The midpoint of each line segment is computed.
Point pattern (object of class "ppp").
a <- psp(runif(10), runif(10), runif(10), runif(10), window=owin())
b <- midpoints.psp(a)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.