mcquestion | R Documentation |
Wrapper around learnr::question with sensible defaults for multiple choice questions.
mcquestion( ..., type = "learnr_checkbox", allow_retry = TRUE, random_answer_order = TRUE, correct = c("Perfect!", "Nice!", "Well done!", "Good job!", "Great!", "Correct!", "Exactly!") )
..., type, allow_retry, random_answer_order |
see learnr::question for these parameters |
correct |
a vector of strings to be displayed for correct answers. One of these strings is chosen at random. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.