Create a shiny quiz widget
1 2 3 |
id |
the id of the quiz |
qu |
a list that contains the quiz fields as would have been parsed by read.yaml from package YamlObjects |
yaml |
alternatively to qu, is yaml a string that specifies the quiz |
quiz.handler |
a function that will be called if the quiz is checked. The boolean argument solved is TRUE if the quiz was solved and otherwise FALSE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.