nsegments

0th

Percentile

Number of Line Segments in a Line Segment Pattern

Returns the number of line segments in a line segment pattern.

Keywords
manip, spatial
Usage
nsegments(x)
   ## S3 method for class 'psp':
nsegments(x)
Arguments
x
A line segment pattern, i.e. an object of class psp.
Details

This function is generic, but there is at present only one method, that for class psp.

Value

  • Integer.

See Also

npoints(), psp.object()

Aliases
  • nsegments
  • nsegments.psp
Examples
data(copper)
nsegments(copper$Lines)
nsegments(copper$SouthLines)
Documentation reproduced from package spatstat, version 1.34-1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.