npoints

0th

Percentile

Number of Points in a Point Pattern

Returns the number of points in a point pattern of any kind.

Keywords
manip, spatial
Usage
npoints(x)
  # S3 method for ppp
npoints(x)
  # S3 method for pp3
npoints(x)
  # S3 method for ppx
npoints(x)
Arguments
x

A point pattern (object of class "ppp", "pp3", "ppx" or some other suitable class).

Details

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.

Value

Integer.

See Also

ppp.object, print.pp3, print.ppx.

Aliases
  • npoints
  • npoints.ppp
  • npoints.pp3
  • npoints.ppx
Examples
# NOT RUN {
   data(cells)
   npoints(cells)
# }
Documentation reproduced from package spatstat, version 1.59-0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.