get_accuracy {symptomcheckR} | R Documentation |
get_accuracy
Description
Calculates the accuracy of one or multiple symptom checkers
Usage
get_accuracy(data, correct, apps = NULL, CI = FALSE)
Arguments
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) |
Value
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.
Examples
data(symptomcheckRdata)
accuracy <- get_accuracy(
data = symptomcheckRdata,
correct = "Correct_Triage_Advice_provided_from_app",
apps = "App_name",
CI = TRUE
)
[Package symptomcheckR version 0.1.3 Index]