plot.svmroc: Plot SVM ROC curve

Description Usage Arguments Value

View source: R/svmroc.R

Description

plot.svmroc returns a plot of the ROC curve associated with an object of class svmroc.

Usage

1
2
plot.svmroc(object, xlab = "One minus specificity", ylab = "Sensitivity",
  include_opt = T)

Arguments

object

An object of class svmroc.

xlab

Label for X axis. Defaults to "One minus specificity".

ylab

Label for Y axis. Defaults to "Sensitivity".

include_opt

Logical. If TRUE, the optimal point on the ROC curve (the closest to (0, 1) in Euclidean distance) is marked on the plot. Defaults to TRUE.

Value

A plot as a object of class ggplot.


djluckett/svmroc documentation built on Oct. 6, 2019, 12:42 a.m.