nsegments {spatstat} | R Documentation |
Returns the number of line segments in a line segment pattern.
nsegments(x) ## S3 method for class 'psp' nsegments(x)
x |
A line segment pattern, i.e. an object of class |
This function is generic, but there is at present only one
method, that for class psp
.
Integer.
Adrian Baddeley Adrian.Baddeley@csiro.au http://www.maths.uwa.edu.au/~adrian/ and Rolf Turner r.turner@auckland.ac.nz
npoints()
, psp.object()
data(copper) nsegments(copper$Lines) nsegments(copper$SouthLines)