PlotROC: Plot ROC Curve

Description Usage Arguments Examples

View source: R/PlotROC.R

Description

This function plots the ROC curve.

Usage

1
PlotROC(Target, Prediction, type = "l", pch = 16, ...)

Arguments

Target

A vector with values of 0/1 to be predicted.

Prediction

A vector of prediction or covariate used to predict the target.

...

Other parameters for plot().

Examples

1
PlotROC(mtcars[, am], mtcars[, mpg])

Then-Terence/LXR documentation built on March 12, 2021, 12:04 a.m.