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.
marks.psp, summary.psp, lengths_psp angles.psp, endpoints.psp, extrapolate.psp.
marks.psp
summary.psp
lengths_psp
angles.psp
endpoints.psp
extrapolate.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