midpoints.psp: Midpoints of Line Segment Pattern

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)   

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.