npfun: Dummy Function Returns Number of Points

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Returns a summary function which is constant with value equal to the number of points in the point pattern.

Usage

1
npfun(X, ..., r)

Arguments

X

Point pattern.

...

Ignored.

r

Vector of values of the distance argument r.

Details

This function is normally not called by the user. Instead it is passed as an argument to the function psst.

Value

Object of class "fv" representing a constant function.

Author(s)

\adrian \ege

and Jesper Moller.

See Also

psst

Examples

1
2
  fit0 <- ppm(cells, ~1, nd=10)
  v <- psst(fit0, npfun)


Search within the spatstat package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.