Description Usage Arguments Details Value Examples
View source: R/webexercises_fns.R
Longer MCQs with Radio Buttons
Vector of alternatives. The correct answer is the element(s) of this vector named 'answer'.
Writes html code that creates a radio button widget, with a single correct answer. This is more suitable for longer answers. Call this function inline in an RMarkdown document. See the Web Exercises RMarkdown template for further examples.
A character string containing HTML code to create a set of radio buttons.
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.