qamatrix | R Documentation |
This function takes a matrix and generates the html code for questions and answers in a moodle quiz
qamatrix(tbl, points = 100, precision = 0, Border = 1, before, after)
tbl |
a matrix |
points |
Points for correct answers |
precision |
required |
Border |
should table have a border? |
before |
text that appears before question |
after |
text that appears after question |
a list for the qmc and amc portions of genquiz
p=matrix(1:6,2,3)
qamatrix(p)
qamatrix(p, c(100,80), c(0,0.1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.