performDaim {Daim} | R Documentation |
Plotting method for Daim Objects
Description
Plot an Daim
object generated by Daim
function.
Usage
## S3 method for class 'matrix':
performDaim(x, labels, prediction=NULL,
thres=seq(0,1,by=0.01),
cutoff=0.5, labpos="1", ...)
## S3 method for class 'data.frame':
performDaim(x, labels, prediction=NULL,
thres=seq(0,1,by=0.01),
cutoff=0.5, labpos="1", ...)
Arguments
x |
a matrix or data frame containing the predictions. |
labels |
a vector containing the true class labels. It can be a factor or character vector. |
prediction |
a vector containing the prediction probability obtained by a model: see Daim . |
thres |
a numeric vector with the cutoff values. |
cutoff |
the cutoff value for error estimation. This can be a numeric value or a character string.
If the cutoff set to:
".632" - the estimated cut-point corresponding the .632 estimation of the sensitivity and the specificity.
".632+" - the estimated cut-point corresponding the .632+ estimation of the sensitivity and the specificity. |
labpos |
a character string of the variable labels that defines a "positive" event. |
... |
additional parameters. |
See Also
Daim
, plot.Daim
Examples
data(Daim.data1)
perform <- performDaim(Daim.data1$prob.oob,
Daim.data1$labels, Daim.data1$prob.app)
perform
[Package
Daim version 1.0.0
Index]