nm {moodlequizR} | R Documentation |
nm
Description
This function generates the code for a numerical CLOZE question
Usage
nm(x, w, eps, ndigits, pts = 1)
Arguments
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? |
Value
a character vector with the code for a CLOZE question
Examples
nm(50)
nm(c(50, 40), w=c(100, 50))
[Package moodlequizR version 2.1.1 Index]