This function creates an example item bank with randomly generated difficulty and discrimination parameters.
demo_item_bank(n = 20, questions = 1:4, answers = 1:2)
n | (Integerish scalar) Number of questions to include in the item bank. |
---|---|
questions | Vector of questions to sample from. |
answers | Vector of answers to sample from. |
A generated item bank in the form of a data frame,
suitable for passing to adapt_test
.