Description Usage Arguments Details Value
problemset object
1 2 3 4 5 6 7 8 9 | problemset(problems, pretext = "", posttext = "")
## S3 method for class 'problemset'
format(x, shuffle_problems = FALSE,
shuffle_answers = FALSE, show_solutions = FALSE,
tpl_problemset = examiner_opts$tpl_problemset,
tpl_problemblock = examiner_opts$tpl_problemblock,
tpl_problem = examiner_opts$tpl_problem,
tpl_answerlist = examiner_opts$tpl_answerlist, .debug = FALSE, ...)
|
problems |
list of problems |
pretext |
|
posttext |
|
x |
The object. |
shuffle_problems |
Shuffle problems? |
shuffle_answers |
Shuffle answers? |
show_solutions |
Display the solutions to the answers? |
tpl_problemset |
Whisker template to use when rendering the object. |
tpl_problem |
Whisker template to use when rendering the object. |
tpl_problemblock |
Whisker template to use when rendering the object. |
tpl_answerlist |
The template to use to render the object. |
.debug |
Useful for debugging. Shows the data that is passed to the template. |
... |
Used by the template and passed to |
A "problemset" object is a "list" with elements
problemsThe problems. A "list" of "problem" objects.
pretextThe text to go before the problems.
posttextThe text to go after the problems.
A problemset object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.