powered by
Returns a summary function which is constant with value equal to the number of points in the point pattern.
npfun(X, ..., r)
Object of class "fv" representing a constant function.
"fv"
Point pattern.
Ignored.
Vector of values of the distance argument \(r\).
Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Ege Rubak rubak@math.aau.dk and Jesper Moller.
This function is normally not called by the user. Instead it is passed as an argument to the function psst.
psst
fit0 <- ppm(cells, ~1, nd=10) v <- psst(fit0, npfun)
Run the code above in your browser using DataLab