roc.rhohat: Receiver Operating Characteristic

View source: R/roc.R

roc.rhohatR 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 "rhohat").

...

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 \rocpapercite.

Value

Function value table (object of class "fv" and "roc") which can be plotted to show the ROC curve.

Author(s)

\rocketAuthors

.

References

\rocpaper

See Also

roc, auc

Examples

  rh <- rhohat(swedishpines, "x")
  plot(roc(rh))

spatstat.explore documentation built on Aug. 8, 2025, 7:36 p.m.