This is an internal function used by irtree_fit_mplus()
. It receives its
inputs from the model object and the data set and returns an object of class
MplusAutomation::mplusObject.
write_mplus_input(
object = NULL,
pseudoitems = NULL,
data_file = NULL,
fsco_file = NULL,
save_fscores = FALSE,
quadpts = NULL,
estimator = NULL,
link = NULL,
analysis_list = list()
)
Object of class irtree_model
. See irtree_model for more
information.
Data frame as returned from irtree_recode()
.
String, the full file path of the data set.
String, the file name used by Mplus to store the factor scores.
Logical, whether to save FSCORES or not.
This is passed to argument 'INTEGRATION' of Mplus. Thus, it
may be an integer specifying the number of integration points for the Mplus
default of rectangular numerical integration (e.g., quadpts = 15
). Or it
may be a string, which gives more fine grained control (e.g., quadpts = "MONTECARLO(2000)"
).
String, passed to argument 'ESTIMATOR' in Mplus.
String, passed to argument 'LINK' in Mplus. Specifies the link function.
Named list of strings passed to Mplus' argument ANALYSIS. See examples below.
A list of of class MplusAutomation::mplusObject