mcquestion: Multipe-Choice Question

mcquestionR Documentation

Multipe-Choice Question

Description

Wrapper around learnr::question with sensible defaults for multiple choice questions.

Usage

mcquestion(
  ...,
  type = "learnr_checkbox",
  allow_retry = TRUE,
  random_answer_order = TRUE,
  correct = c("Perfect!", "Nice!", "Well done!", "Good job!", "Great!", "Correct!",
    "Exactly!")
)

Arguments

..., 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.


dakep/stat305templates documentation built on Nov. 27, 2022, 8:23 a.m.