nm {moodler} | R Documentation |
This function generates the code for a numerical CLOZE question
nm(x, w, eps, ndigits, pts = 1)
x |
vector of values |
w |
list of weights |
eps |
vector of precision |
ndigits |
answers have to be rounded to ndigits, otherwise gives partial credit. Overrides eps |
pts |
how many points is question worth? |
nm(50) nm(c(50, 40), w=c(100, 50)) nm(c(50, 40), w=c(100, 50), ndigits=0) #for 100% answer has to be rounded to nearest integer