roc.rhohat {spatstat.explore} | R Documentation |
Receiver Operating Characteristic
Description
Computes the Receiver Operating Characteristic curve for a point pattern from a given intensity function.
Usage
## S3 method for class 'rhohat'
roc(X, ..., high = TRUE)
Arguments
X |
Estimate of rho function (object of class |
... |
Ignored. |
high |
Logical value indicating whether the threshold operation should favour high or low values of the covariate. |
Details
This command computes Receiver Operating
Characteristic curve from an estimate of rhohat
.
See roc
for general information about ROC curves.
It is assumed that the rhohat function X
describes the true functional
dependency of the point process intensity on the given covariate (included in
the rhohat
-object). The ROC curve is estimated by integrating this
function as described in Baddeley et al (2025).
Value
Function value table (object of class "fv"
and "roc"
)
which can be plotted to show the ROC curve.
Author(s)
Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Ege Rubak rubak@math.aau.dk and Suman Rakshit Suman.Rakshit@curtin.edu.au.
References
Baddeley, A., Rubak, E., Rakshit, S. and Nair, G. (2025) ROC curves for spatial point patterns and presence-absence data. doi:10.48550/arXiv.2506.03414.
See Also
Examples
rh <- rhohat(swedishpines, "x")
plot(roc(rh))