Writes a fixed width text file in the format required for the ACER ConQuest command and argument import anchor_xsi. Can also be used for initial values, though caution should be used with the interpretation of the argument lconstraint which should relate to the model of interest ACER ConQuest
Currently only works with implicit variables. Explicit variables may be added in the future.
bmatix: either the integer 1L for a unidimensional model, or a matrix, items by dimensions with 1L representing that the item in on this dimension, and a 0 otherwise.
lconstraint: the identification constraint in use, one of "none", "items", or "cases".
file: a path and filename to write file to disk. #' @return invisibly returns path of file written to disk)
Examples
myItem <- matrix(c(0,0,0,0,1,1,0,1), ncol =4, byrow =TRUE) myItems <- list(myItem, myItem) myItems[[2]][2,2]<--1# make the second item delta equal to -1 myResponses <- genResponses(abilities = rnorm(100), itemParams = myItems)