powered by
Calculates the item difficulty for each case / vignette
get_item_difficulty(data, correct, vignettes)
A data frame object containing the item difficulty for each vignette
A dataframe
A string indicating the column name storing if the symptom checker solved the case (TRUE or FALSE)
A string indicating the column name storing the vignette or vignette number
data(symptomcheckRdata) item_difficulty <- get_item_difficulty( data = symptomcheckRdata, correct = "Correct_Triage_Advice_provided_from_app", vignettes = "Vignette_id" )
Run the code above in your browser using DataLab