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
)
Value
A results object containing:
results$text | a html | ||||
results$aucTable | a table | ||||
results$rocPlot | an image | ||||
results$aucPlot | an image |
Tables can be converted to data frames with asDF
or as.data.frame
. For example:
results$aucTable$asDF
as.data.frame(results$aucTable)