irtree_model
using mirtThis function takes a data
frame and a model object
and runs the model in mirt.
irtree_fit_mirt(
object = NULL,
data = NULL,
link = "logit",
verbose = interactive(),
control = control_mirt(),
improper_okay = FALSE
)
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
.
String specifying the link function. Only logit
is
implemented in mirt.
Logical indicating whether output should be printed to the console.
List. The allowed elements of this list depend on the
engine
. Use control_mirt()
, control_mplus()
, or control_tam()
for
convenience. Note that the fit()
function does not use ...
, but that
you can use the control_*()
functions to pass additional arguments.
Logical indicating whether the model should also be fit
if it is not a proper IR-tree model. Set this only to TRUE
if you really
know what you are doing.