sillyTest | R Documentation |
list
with a test inspired on Harry Potter books.A list
including Q&A inspired on Harry Potter books in order to clarify how
to organize inputs for sillyTest
function.
sillyTest
sillyTest(testName, questions, answers, correctAnswers)
testName |
The name for the test |
questions |
|
answers |
|
correctAnswers |
|
A list
with two levels: 1) The first, the questions as a character
vector and
2) the second, the posible answers for each question.
Of course, arguments for questions, answers and correct answers must have the same length.
Nothing.
## Not run:
sillyTest(testName = "Harry Potter", questions = testExample$questions,
answers = testExample$answers, correctAnswers = testExample$correctAnswers)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.