plot.BranchGLMROC {BranchGLM}R Documentation

Plot Method for BranchGLMROC Objects

Description

This plots a ROC curve.

Usage

## S3 method for class 'BranchGLMROC'
plot(x, xlab = "1 - Specificity", ylab = "Sensitivity", type = "l", ...)

Arguments

x

a BranchGLMROC object.

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.

Value

This only produces a plot, nothing is returned.

Examples

Data <- ToothGrowth
Fit <- BranchGLM(supp ~ ., data = Data, family = "binomial", link = "logit")
MyROC <- ROC(Fit)
plot(MyROC)

[Package BranchGLM version 2.1.4 Index]