Learn R Programming

nlcv (version 0.3.5)

rocPlot: Produce a ROC plot for a classification model belonging to a given technique and with a given number of features.

Description

Produce a ROC plot for a classification model belonging to a given technique and with a given number of features.

Usage

rocPlot(nlcvObj, tech, nfeat, main = NULL, globalAUCcol = "#FF9900", ...)

Arguments

nlcvObj

object of class 'nlcv' as produced by the nlcv function

tech

technique; character of length one; one of 'dlda', 'lda', 'nlda', 'qda', 'glm', 'randomForest', 'bagg', 'pam', 'svm' or 'ksvm'

nfeat

number of features used in the classification model; numeric of length one

main

main title to be used for the ROC plot

globalAUCcol

color for the global AUC (defaults to '#FF9900')

further arguments for the plot call (such as sub e.g.)

Value

A ROC plot is drawn to the current device