powered by
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)
a list for the qmc and amc portions of genquiz
a matrix
Points for correct answers
required
should table have a border?
text that appears before question
text that appears after question
p=matrix(1:6,2,3) qamatrix(p) qamatrix(p, c(100,80), c(0,0.1))
Run the code above in your browser using DataLab