get_item_difficulty {symptomcheckR} | R Documentation |
get_item_difficulty
Description
Calculates the item difficulty for each case / vignette
Usage
get_item_difficulty(data, correct, vignettes)
Arguments
data |
A dataframe |
correct |
A string indicating the column name storing if the symptom checker solved the case (TRUE or FALSE) |
vignettes |
A string indicating the column name storing the vignette or vignette number |
Value
A data frame object containing the item difficulty for each vignette
Examples
data(symptomcheckRdata)
item_difficulty <- get_item_difficulty(
data = symptomcheckRdata,
correct = "Correct_Triage_Advice_provided_from_app",
vignettes = "Vignette_id"
)
[Package symptomcheckR version 0.1.3 Index]