spatstat (version 1.61-0)

npfun: Dummy Function Returns Number of Points

Description

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

Usage

npfun(X, ..., r)

Arguments

X

Point pattern.

Ignored.

r

Vector of values of the distance argument \(r\).

Value

Object of class "fv" representing a constant function.

Details

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

See Also

psst

Examples

Run this code
# NOT RUN {
  fit0 <- ppm(cells, ~1, nd=10)
  v <- psst(fit0, npfun)
# }

Run the code above in your browser using DataCamp Workspace