Learn R Programming

IRTpp (version 0.2.6.1)

SimulateItemParameters: Simulates item parameters for UIRT models.

Description

Simulates item parameters depending on a model

Usage

simulateItemParameters(items, model, dims = 1, boundaries = NULL)

Arguments

items
Number of items to generate
model
A string with the model to simulate, please refer to the model documentation in irtpp documentation.
dims
Optional. The number of dimensions to simulate in the test if the model is multidimensional
boundaries
Optional. The kind of boundaries that are specified for the parameters.

Value

A list containing the values of the parameters simulated according to the chosen model.

See Also

simulateTest, simulateTest.file

Examples

Run this code
## Simulation for a dimension
# simulateItemParameters(10, "2Pl")
## For three-dimensional simulation
# simulateItemParameters(10, "2Pl", dims = 3)

Run the code above in your browser using DataLab