Records TRUE or FALSE to designated text file. In the swirl function, it is used to denote whether user's answer is right or wrong.
1 | recordIsCorrect(is.correct, text.file.path)
|
is.correct |
logical, TRUE or FALSE |
text.file.path |
full file path of text file where string is recorded |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.