Description Usage Arguments Value
View source: R/demo-item-bank.R
This function creates an example item bank with randomly generated difficulty and discrimination parameters.
1 | 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
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.