mchoice | R Documentation |
Use this function in a cloze inline chunk to describe a single choice question.
mchoice(opts, sol)
opts |
The options to choose from (character vector) |
sol |
The correct solution (the correct value from |
Note: this is only supported for exams 2.4. CRAN version is at 2.3-6.
Install the latest from R-Forge.
install.packages("exams", repos = "http://R-Forge.R-project.org")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.