View source: R/get_item_difficulty.R
get_item_difficulty | R Documentation |
Calculates the item difficulty for each case / vignette
get_item_difficulty(data, correct, vignettes)
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 |
A data frame object containing the item difficulty for each vignette
data(symptomcheckRdata)
item_difficulty <- get_item_difficulty(
data = symptomcheckRdata,
correct = "Correct_Triage_Advice_provided_from_app",
vignettes = "Vignette_id"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.