Description Usage Arguments Details Value
answerlist objects
1 2 3 4 5 6 | answerlist(x)
## S3 method for class 'answerlist'
format(x, show_solutions = FALSE,
tpl_answerlist = examiner_opts$tpl_answerlist, format_i = identity,
.debug = FALSE, ...)
|
x |
A data frame with colums: text, correct, and fixed. In |
show_solutions |
Whether to the show the solution |
tpl_answerlist |
The template to use to render the object. |
format_i |
A function used to format the answer number. |
.debug |
Show the data used in the template. |
... |
Passed to the template. |
The class "answerlist" is a "data.frame" with columns:
| text | character | Answer text |
| corect | logical | Is the answer correct? |
| fixed | logical | Can the answer be shuffled |
An object of class answerlist.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.