get_accuracy | R Documentation |
Calculates the accuracy of one or multiple symptom checkers
get_accuracy(data, correct, apps = NULL, CI = FALSE)
data |
A dataframe |
correct |
A string indicating the column name storing if the symptom checker solved the case (TRUE or FALSE) |
apps |
A string indicating the column name storing the app names (optional) |
CI |
A Boolean (TRUE or FALSE) indicating whether 95% confidence intervals should be output (optional) |
A data frame object containing the accuracy of the symptom checker or the accuracy of multiple symptom checkers. Use the apps argument to calculate this metric for multiple symptom checkers.
data(symptomcheckRdata)
accuracy <- get_accuracy(
data = symptomcheckRdata,
correct = "Correct_Triage_Advice_provided_from_app",
apps = "App_name",
CI = TRUE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.