powered by
Returns the number of points in a point pattern of any kind.
npoints(x) # S3 method for ppp npoints(x) # S3 method for pp3 npoints(x) # S3 method for ppx npoints(x)
Integer.
A point pattern (object of class "ppp", "pp3", "ppx" or some other suitable class).
"ppp"
"pp3"
"ppx"
Adrian Baddeley Adrian.Baddeley@curtin.edu.au and Rolf Turner rolfturner@posteo.net
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.
npoints
ppp.object, print.pp3, print.ppx.
ppp.object
print.pp3
print.ppx
npoints(cells)
Run the code above in your browser using DataLab