powered by
Computes the midpoints of each line segment in a line segment pattern.
midpoints.psp(x)
A line segment pattern (object of class "psp").
"psp"
Point pattern (object of class "ppp").
"ppp"
The midpoint of each line segment is computed.
summary.psp, lengths.psp, angles.psp
summary.psp
lengths.psp
angles.psp
# NOT RUN { 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