This class is used for objects needed by klausur.
They contain all relevant data to calculate test results.
corrContains three elements:
corr The correct answers to each item.
corr.key An optional data.frame or matrix for test with multiple test forms,
indicating the positions
of all items (columns) in all forms (rows). Must have a column called Form (like in id),
and the
item columns must follow the usual name scheme Item###. NULL if not needed.
wrong For pick-n scoring, this is the inverse of corr, i.e.,
all wrong item alternatives.
idContains the columns No, Name, FirstName,
MatrNo, Pseudonym and Form.
itemsContains a copy of id$MatrNo and all answers to the test items (one item per column).
scoreContains three elements:
marks The assigned marks for achieved points (NULL if none)
wght Weights for each item (NULL if none)
maxp Optional,
to force a certain maximum points value (NULL if none)
testCurrently an empty placeholder. Planned to hold the actual test items in future releases.
miscAny additional data you'd like to be stored along with id and items,
e.g. table data from/for other software products. Won't be used for anything.
The slots , id, items and misc,
must have the same number of rows and contain copies of the colum MatrNo
for identification.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.