Description Usage Arguments Value Author(s) Examples
plot a ROC in ggplot for a given logistic regression fit.
1 |
a |
glm object from a family = binomial |
newdata |
if omitted the data used to fit the model is used, else this
newdata is passed to the |
show.auc |
show the area under the curve on the plot via text. |
n |
number of thresholds to use, defualt is 200 |
a list with the plot, the auc, and the data.frame used to plot the ROC
Peter DeWitt
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.