Learn R Programming

lulcc (version 1.0.4)

PredictionList: Create a PredictionList object

Description

This function creates a ROCR::prediction object for each predictive model in a PredictiveModelList object. It should be used with PerformanceList to evaluate multiple models with exactly the same criteria while keeping track of which model corresponds to which land use category.

Usage

PredictionList(models, newdata, ...)

Arguments

models

a PredictiveModelList object

newdata

a data.frame containing new data

additional arguments to ROCR::prediction

Value

A PredictionList object.

References

Sing, T., Sander, O., Beerenwinkel, N., Lengauer, T. (2005). ROCR: visualizing classifier performance in R. Bioinformatics 21(20):3940-3941.

See Also

link{PerformanceList}, ROCR::prediction

Examples

Run this code
# NOT RUN {
## see lulcc-package examples
# }

Run the code above in your browser using DataLab