Description Usage Arguments Value Examples
Implements parameter transforms from one parameter to others dependent on the model Currently only 3PL, supported with passings between b <-> d and c <-> cp'
1 | model.transform(z, model, src, target, byrow = F)
|
z |
The parameter matrix or named list. |
model |
The model to transform. |
src |
The original parameter to transform. |
target |
The target parameter of the transform. |
byrow |
Read matrix by row. |
z The parameters with the transform.
1 2 3 4 5 6 7 8 9 | ## 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
# zita <- list(zita$a, zita$b, zita$c)
# zita <- parameter.matrix(zita)
## transform the model parameters
# model.transform(zita, model = "3PL", src = "b", target = "d")
# model.transform(zita, model = "3PL", src = "c", target = "cp")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.