This is an internal function used by irtree_fit_mirt()
. It receives its
inputs from the model object and the data set and returns a
mirt::mirt.model object.
write_mirt_input(object = NULL, data = NULL)
Object of class irtree_model
. See irtree_model for more
information.
Data frame containing containing one row per respondent and one
column per variable. The variable names must correspond to those used in
object
.
A list with three elements. mirt_string
is the mirt::mirt.model
object; itemtype
can be passed to mirt::mirt()
;
lambda
is the modified lambda matrix from the object
-argument.