View source: R/PVBcorrect_functions.R
acc_cca | R Documentation |
Perform Complete Case Analysis, CCA, used for complete data and multiple imputation, MI.
acc_cca(data, test, disease, ci = FALSE, ci_level = 0.95, description = TRUE)
data |
A data frame, with at least "Test" and "Disease" variables. |
test |
The "Test" variable name, i.e. the test result. The variable must be in binary; positive = 1, negative = 0 format. |
disease |
The "Disease" variable name, i.e. the true disease status. The variable must be in binary; positive = 1, negative = 0 format. |
ci |
View confidence interval (CI). The default is |
ci_level |
Set the CI width. The default is 0.95 i.e. 95% CI. |
description |
Print the name of this analysis. The default is |
A list object containing:
The accuracy results.
acc_cca(data = cad_pvb, test = "T", disease = "D")
acc_cca(data = cad_pvb, test = "T", disease = "D", ci = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.