| nobjects | R Documentation |
A generic function to count the number of geometrical objects in a spatial dataset.
nobjects(x)
## S3 method for class 'ppp'
nobjects(x)
## S3 method for class 'ppx'
nobjects(x)
## S3 method for class 'psp'
nobjects(x)
## S3 method for class 'tess'
nobjects(x)
x |
A dataset. |
The generic function nobjects counts the number of
geometrical objects in the spatial dataset x.
The methods for point patterns (classes "ppp" and "ppx",
embracing "pp3" and "lpp")
count the number of points in the pattern.
The method for line segment patterns (class "psp")
counts the number of line segments in the pattern.
The method for tessellations
(class "tess")
counts the number of tiles of the tessellation.
A single integer.
npoints
nobjects(redwood)
nobjects(edges(letterR))
nobjects(dirichlet(cells))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.