ROCcurve | R Documentation |
Plot the ROC curve for logistic regression, LDA, or QDA models.
ROCcurve(mod, nw = NULL)
mod |
A logistic regression, LDA, or QDA model |
nw |
A dataset for which a testing ROC curve should be plotted
using the model in |
A plot with the ROC curve will be produced, nothing is returned.
gmod=glm(state~.,binomial,Puromycin)
ROCcurve(gmod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.