npfun {spatstat} | R Documentation |
Returns a summary function which is constant with value equal to the number of points in the point pattern.
npfun(X, ..., r)
X |
Point pattern. |
... |
Ignored. |
r |
Vector of values of the distance argument r. |
This function is normally not called by the user. Instead it is passed
as an argument to the function psst
.
Object of class "fv"
representing a constant function.
Adrian Baddeley Adrian.Baddeley@csiro.au http://www.maths.uwa.edu.au/~adrian/ Ege Rubak and Jesper Moller.
data(cells) fit0 <- ppm(cells, ~1) v <- psst(fit0, npfun)