Learn R Programming

TDMR (version 2.2)

tdmROCR.TDMclassifier: Interactive plot of ROC, lift or other charts for a TDMclassifier object.

Description

Brings up a twiddle user interface, where the user may select a part of the dataset ("training" or "validation"), a run number (if Opts(x)$NRUN>1) and a type-of-chart, see tdmROCRbase for details. Using tdmROCRbase, the appropriate chart is plotted on the current graphics device.

Usage

# S3 method for TDMclassifier
tdmROCR(x, ...)

Arguments

x

return value from a prior call to tdmClassifyLoop, an object of class TDMclassifier.

...

-- currently not used --

Value

The area under the curve plotted most recently.

See Also

tdmClassifyLoop tdmROCRbase

Examples

Run this code
# NOT RUN {
   
# }
# NOT RUN {
     path <- paste(find.package("TDMR"), "demo02sonar",sep="/");
     source(paste(path,"main_sonar.r",sep="/"));
     result = main_sonar();
     tdmROCR(result);
   
# }

Run the code above in your browser using DataLab