Description Usage Arguments Details Examples
Create a true-or-false question
1 | torf(answer)
|
answer |
Logical value TRUE or FALSE, corresponding to the correct answer. |
Writes html code that creates an option box widget with TRUE or FALSE as alternatives. Call this function inline in an RMarkdown document. See the Web Exercises RMarkdown template for further examples.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.