correct_answer | R Documentation |
Check the Answer To a Question
correct_answer(answer, question, rm_trailing_chars = "")
answer |
character string giving the answer to the question |
question |
the |
rm_trailing_chars |
a character of length one containing
characters that should be removed if they appear at the
end of an answer. This can be used to omit rejecting answers
because a key next to Return is hit by accident. For a
Swiss keyboard, |
a logical indicating whether the answer is correct
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.