\HeaderA{rocc-class}{Class rocc, ROC curve representation}{rocc.Rdash.class}
\aliasA{.initClasses}{rocc-class}{.initClasses}
\keyword{methods}{rocc-class}
\begin{Description}\relax
object representing ROC curve, typically created using rocdemo.sca
\end{Description}
\begin{Section}{Creating Objects}
\code{  new('rocc',}\\
\code{    sens        = ...., \# Object of class numeric}\\
\code{    spec        = ...., \# Object of class numeric}\\
\code{    rule        = ...., \# Object of class function}\\
\code{    cuts        = ...., \# Object of class numeric}\\
\code{    markerLabel = ...., \# Object of class character}\\
\code{    caseLabel   = ...., \# Object of class character}\\
\code{  )}
\end{Section}
\begin{Section}{Slots}
\describe{
\item[\code{sens}:] Object of class "numeric" sensitivity values 
\item[\code{spec}:] Object of class "numeric" specificity values 
\item[\code{rule}:] Object of class "function" rule to classify objects 
\item[\code{cuts}:] Object of class "numeric" thresholds defining curve 
\item[\code{markerLabel}:] Object of class "character" name of measured marker 
\item[\code{caseLabel}:] Object of class "character" name of condition 
}
\end{Section}
\begin{Section}{Methods}
\describe{
\item[plot] (rocc, missing): a plotting function with some additional parameters 
}
\end{Section}
\begin{Examples}
\begin{ExampleCode}
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 )
\end{ExampleCode}
\end{Examples}


