rocc-class {ROC} | R Documentation |
object representing ROC curve, typically created using rocdemo.sca
new('rocc',
sens = ...., # Object of class numeric
spec = ...., # Object of class numeric
rule = ...., # Object of class function
cuts = ...., # Object of class numeric
markerLabel = ...., # Object of class character
caseLabel = ...., # Object of class character
)
sens
:spec
:rule
:cuts
:markerLabel
:caseLabel
:set.seed(123) R1 <- rocdemo.sca( rbinom(40,1,.3), rnorm(40), dxrule.sca, caseLabel="new case", markerLabel="demo Marker" ) plot( R1, show.thresh=TRUE )