npoints | R Documentation |
Returns the number of points in a point pattern of any kind.
npoints(x)
## S3 method for class 'ppp'
npoints(x)
## S3 method for class 'pp3'
npoints(x)
## S3 method for class 'ppx'
npoints(x)
x |
A point pattern (object of class |
This function returns the number of points in
a point pattern. The function npoints
is generic
with methods for the classes "ppp"
, "pp3"
,
"ppx"
and possibly other classes.
Integer.
and \rolf
ppp.object
,
print.pp3
,
print.ppx
.
npoints(cells)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.