roc | R Documentation |
ROC Analysis
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
)
data |
. |
dep |
. |
covs |
. |
plot1 |
. |
width1 |
. |
height1 |
. |
plot2 |
. |
width2 |
. |
height2 |
. |
plot3 |
. |
width3 |
. |
height3 |
. |
auc |
. |
dif |
. |
overall |
. |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.