parameter.matrix: Parameter matrix form

Description Usage Arguments Value See Also Examples

Description

Returns a parameter matrix from a parameter list.

Usage

1
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

1
2
3
4
5
6
7
8
## 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)

SICSresearch/IRTpp documentation built on May 9, 2019, 11:11 a.m.