View source: R/BranchGLMTable.R
plot.BranchGLMROC | R Documentation |
This plots a ROC curve.
## S3 method for class 'BranchGLMROC'
plot(x, xlab = "1 - Specificity", ylab = "Sensitivity", type = "l", ...)
x |
a |
xlab |
label for the x-axis. |
ylab |
label for the y-axis. |
type |
what type of plot to draw, see more details at plot.default. |
... |
further arguments passed to plot.default. |
This only produces a plot, nothing is returned.
Data <- ToothGrowth
Fit <- BranchGLM(supp ~ ., data = Data, family = "binomial", link = "logit")
MyROC <- ROC(Fit)
plot(MyROC)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.