Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rocc-class

Class rocc, ROC curve representation


Description

object representing ROC curve, typically created using rocdemo.sca

Creating Objects

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
)

Slots

sens:

Object of class "numeric" sensitivity values

spec:

Object of class "numeric" specificity values

rule:

Object of class "function" rule to classify objects

cuts:

Object of class "numeric" thresholds defining curve

markerLabel:

Object of class "character" name of measured marker

caseLabel:

Object of class "character" name of condition

Methods

plot

(rocc, missing): a plotting function with some additional parameters

Examples

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 )

ROC

utilities for ROC, with microarray focus

v1.66.0
Artistic-2.0
Authors
Vince Carey <stvjc@channing.harvard.edu>, Henning Redestig for C++ language enhancements
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.