Preparing data for model testing with the ROCR package.
evaluateROCR(model, p, a, x)
any fitted model, including objects inherting from 'DistModel'
presence points (x and y coordinates or SpatialPoints* object).
Or, if x
is missing, values at presence points
Or, a matrix with values to compute predictions for
absence points (x and y coordinates or SpatialPoints* object).
Or, if x
is missing, values at presence points.
Or, a matrix with values to compute predictions for
optional. predictor variables, if present, p
and a
are considered
An object of class "prediction" (defined in the ROCR package)