Description Usage Arguments See Also Examples
This function computes sensitivity and specificity for a variety of cut-points.
1 2 3 4 5 6 7 8 9 10 11 |
x |
an object ( |
labels |
a vector containing the true class labels. This can be a factor or character vector. |
labpos |
a character string of the variable |
thres |
a numeric vector with the cutoff values. By default, the |
... |
additional parameters. |
1 2 3 4 5 6 7 | data(Daim.data3)
M <- roc(Daim.data3[,2:5], Daim.data3$Gold, "pos")
summary(M)
plot(M,color=c("black","blue","green3","red"))
roc.area(M)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.