Dummy Function Returns Number of Points

Share:

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.