Learn R Programming

IRTpp (version 0.2.6.1)

parameter.matrix: Parameter matrix form

Description

Returns a parameter matrix from a parameter list.

Usage

parameter.matrix(pars, model = "3PL", dims = 1, byrow = F)

Arguments

pars
The parameter list
model
The model whose the list refers to.
dims
dimensions of the model
byrow
to interpret the data by row or not.

Value

A matrix containing the model parameters.

See Also

parameter.list

Examples

Run this code
## create the dataset
# data <- simulateTest(model = "3PL", items = 20, individuals = 200)
## extract the parameters and transform them from one list to matrix.
# zita <-data$itempars
# parameter matrix
# zita.m <- parameter.matrix(zita)
# parameter list
# zita.l <- parameter.list(zita)

Run the code above in your browser using DataLab