spatialRoc(fit, rr = c(1, 1.2, 1.5, 2), truth, border=NULL, random = FALSE)lgcp functionspatialRoc taking logs when appropriate.simLgcp function.
Assumed to be on the log scale if random=TRUE and on the natural scale otherwise.SpatialPolygonsDataFrame specifying region that calculations will be restricted to.FALSE) or random effect (TRUE)fit is a list of model fits, dimension 4 corresponds to elements of fit.rr threshold if this
exceedance probability is above a specified probability threshold.
Each raster cell of the true surface is categorized as being either true positive, false
positive, true negative, and false negative and sensitivity and specificity computed.
ROC curves are produced by varying the probability threshold.lgcp, simLgcp, excProb