Description Creating Objects Slots Methods Examples
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
: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
(rocc, missing): a plotting function with some additional parameters
1 2 3 4 | 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 )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.