Description Usage Arguments Value Examples
Create a Multiple Choice Quiz with Multiple Answers Required
1 2 | create_maq(ans, qus, cor = rep(1, qus), wts = rep(1, qus), ats = rep(1,
qus))
|
ans |
The number of answers for each question, can be a single integer, or a vector providing the number of answers for multiple questions |
qus |
The number of questions in the quiz, not neccesary if a vector is provided for |
cor |
The number of answers that must be given, for questions where, for example, 2 of 4 answers are correct. |
wts |
The weighting score for each question, can be provided as a single integer, or a vector with number of elements equal to |
ats |
The number of attempts the test taker is allowed to answer the question, can be provided as a single integer, or a vector with number of elements equal to |
A test object
1 2 3 | create_maq(4,10,2)
create_maq(c(4,4,5,5),3)
create_maq(4,5,1:5,3,2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.