auc.ppmnet: AUC values for a 'ppmnet' object

Description Usage Arguments Examples

View source: R/auc.R

Description

Computes the area under the receiver operating characteristic curve (AUC) for a regularization path of point process models.

Usage

1
2
## S3 method for class 'ppmnet'
auc(X, data, s = NULL, ...)

Arguments

X

A fitted ppmnet object.

data

A list of pixel images (of class imlist) containing the spatial covariates used to fit the model.

s

Value(s) of the penalty tuning parameter at which AUC is to be calculated. Default is the entire sequence used to fit the regularization path.

...

Additional arguments passed to predict.ppmnet.

Examples

1
2
3
Qp <- quadscheme(Xp)
fitp <- ppmnet(Qp, exdata, nlambda = 10)
auc(fitp, exdata)

jeffdaniel/ppmnet documentation built on Aug. 14, 2019, 6:31 a.m.