Returns a dataframe summarizing the percentage of students who chose each of the options availble for each question.
summarizeSelectedOptions(mctd, include_columns = c("Title", "Answer", "Concept"), questions_as_row_names = FALSE, as_percentage = FALSE, correct_vs_incorrect = FALSE)
| mctd | Existing mcTestAnalysis data object |
|---|---|
| include_columns | Vector of column names to include from Answer Key data
( |
| questions_as_row_names | Move questions column to row name? (Default: FALSE) |
| as_percentage | Summarize by absolute count or percentage of responses |
| correct_vs_incorrect | Group option into correct option vs incorrect options? (Default: FALSE) |