Skip to contents

Time-Dependent ROC Analysis

Usage

timeroc(
  data,
  elapsedtime,
  outcome,
  outcomeLevel,
  marker,
  timepoints = "12, 36, 60",
  method = "incident",
  bootstrapCI = FALSE,
  nboot = 100,
  plotROC = TRUE,
  plotAUC = TRUE
)

Arguments

data

.

elapsedtime

.

outcome

.

outcomeLevel

.

marker

.

timepoints

.

method

.

bootstrapCI

.

nboot

.

plotROC

.

plotAUC

.

Value

A results object containing:

results$texta html
results$aucTablea table
results$rocPlotan image
results$aucPlotan image

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

results$aucTable$asDF

as.data.frame(results$aucTable)