timeroc | R Documentation |
Time-Dependent ROC Analysis
timeroc(
data,
elapsedtime,
outcome,
outcomeLevel,
marker,
timepoints = "12, 36, 60",
method = "incident",
bootstrapCI = FALSE,
nboot = 100,
plotROC = TRUE,
plotAUC = TRUE
)
data |
. |
elapsedtime |
. |
outcome |
. |
outcomeLevel |
. |
marker |
. |
timepoints |
. |
method |
. |
bootstrapCI |
. |
nboot |
. |
plotROC |
. |
plotAUC |
. |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.