demo_item_bank: Demo item bank

Description Usage Arguments Value

View source: R/demo-item-bank.R

Description

This function creates an example item bank with randomly generated difficulty and discrimination parameters.

Usage

1
demo_item_bank(n = 20, questions = 1:4, answers = 1:2)

Arguments

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.

Value

A generated item bank in the form of a data frame, suitable for passing to adapt_test.


pmcharrison/psychTestRCAT documentation built on Sept. 12, 2020, 7:18 a.m.