midpoints.psp | 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"
).
and \rolf
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.