Midpoints of Line Segment Pattern

Share:

Description

Computes the midpoints of each line segment in a line segment pattern.

Usage

1

Arguments

x

A line segment pattern (object of class "psp").

Details

The midpoint of each line segment is computed.

Value

Point pattern (object of class "ppp").

Author(s)

\adrian

and \rolf

See Also

summary.psp, lengths.psp, angles.psp

Examples

1
2
  a <- psp(runif(10), runif(10), runif(10), runif(10), window=owin())
  b <- midpoints.psp(a)   

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.