roc.ppmnet: ROC curves for a 'ppmnet' object

Description Usage Arguments Examples

View source: R/auc.R

Description

Computes receiver operating characteristic (ROC) curves for a regularization path of point process models.

Usage

1
2
## S3 method for class 'ppmnet'
roc(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 the ROC curve 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)
roc(fitp, exdata)

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