roc: ROC Analysis

View source: R/roc.h.R

rocR Documentation

ROC Analysis

Description

ROC Analysis

Usage

roc(
  data,
  dep,
  covs,
  plot1 = FALSE,
  width1 = 500,
  height1 = 500,
  plot2 = FALSE,
  width2 = 500,
  height2 = 500,
  plot3 = FALSE,
  width3 = 500,
  height3 = 500,
  auc = FALSE,
  dif = FALSE,
  overall = FALSE
)

Arguments

data

.

dep

.

covs

.

plot1

.

width1

.

height1

.

plot2

.

width2

.

height2

.

plot3

.

width3

.

height3

.

auc

.

dif

.

overall

.

Value

A results object containing:

results$instructions a html
results$text a preformatted
results$plot1 an image
results$plot2 an image
results$plot3 an image
results$auc a table
results$dif a table
results$overall a table

Tables can be converted to data frames with asDF or as.data.frame. For example:

results$auc$asDF

as.data.frame(results$auc)


hyunsooseol/snowCluster documentation built on April 5, 2025, 2:06 a.m.