npfun

0th

Percentile

Dummy Function Returns Number of Points

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

Keywords
spatial, nonparametric
Usage
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.

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