midpoints.psp: Midpoints of Line Segment Pattern

Description Usage Arguments Details Value Author(s) See Also Examples

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)   


Search within the spatstat package
Search all R packages, documentation and source code

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

Please suggest features or report bugs with the GitHub issue tracker.

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