Description Usage Arguments Examples
View source: R/aMNLFA_initial.R
This function generates the initial itemwise aMNLFA models.
1 | aMNLFA.initial(input.object)
|
input.object |
The aMNLFA object (created using the aMNLFA.object function) which provides instructions for the function. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | wd <- tempdir()
first<-paste0(system.file(package='aMNLFA'),"/examplefiles")
the.list <- list.files(first,full.names=TRUE)
file.copy(the.list,wd,overwrite=TRUE)
ob <- aMNLFA::aMNLFA.object(dir = wd,
mrdata = xstudy,
indicators = paste0("BIN_", 1:12),
catindicators = paste0("BIN_", 1:12),
meanimpact = c("AGE", "GENDER", "STUDY"),
varimpact = c("AGE", "GENDER", "STUDY"),
measinvar = c("AGE", "GENDER", "STUDY"),
factors = c("GENDER", "STUDY"),
ID = "ID",
thresholds = FALSE)
aMNLFA.initial(ob)
|
[1] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
[16] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
[31] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
[46] TRUE TRUE TRUE TRUE TRUE TRUE
Check '/work/tmp/tmp/RtmpKobDQW/' for Mplus inp file for mean impact model (run this manually)
Check '/work/tmp/tmp/RtmpKobDQW/' for Mplus inp file for variance impact model (run this manually). If you trim the variance model manually, do not change the new parameter labels (e.g., v2 is still v2 if you drop the v1 parameter).
COMPLETE. Check '/work/tmp/tmp/RtmpKobDQW/' for Mplus inp file for measurement invariance model for BIN_1 (run this manually).
COMPLETE. Check '/work/tmp/tmp/RtmpKobDQW/' for Mplus inp file for measurement invariance model for BIN_2 (run this manually).
COMPLETE. Check '/work/tmp/tmp/RtmpKobDQW/' for Mplus inp file for measurement invariance model for BIN_3 (run this manually).
COMPLETE. Check '/work/tmp/tmp/RtmpKobDQW/' for Mplus inp file for measurement invariance model for BIN_4 (run this manually).
COMPLETE. Check '/work/tmp/tmp/RtmpKobDQW/' for Mplus inp file for measurement invariance model for BIN_5 (run this manually).
COMPLETE. Check '/work/tmp/tmp/RtmpKobDQW/' for Mplus inp file for measurement invariance model for BIN_6 (run this manually).
COMPLETE. Check '/work/tmp/tmp/RtmpKobDQW/' for Mplus inp file for measurement invariance model for BIN_7 (run this manually).
COMPLETE. Check '/work/tmp/tmp/RtmpKobDQW/' for Mplus inp file for measurement invariance model for BIN_8 (run this manually).
COMPLETE. Check '/work/tmp/tmp/RtmpKobDQW/' for Mplus inp file for measurement invariance model for BIN_9 (run this manually).
COMPLETE. Check '/work/tmp/tmp/RtmpKobDQW/' for Mplus inp file for measurement invariance model for BIN_10 (run this manually).
COMPLETE. Check '/work/tmp/tmp/RtmpKobDQW/' for Mplus inp file for measurement invariance model for BIN_11 (run this manually).
COMPLETE. Check '/work/tmp/tmp/RtmpKobDQW/' for Mplus inp file for measurement invariance model for BIN_12 (run this manually).
NOTE: After running these models, there may be some output from output that cannot be read in properly as a result of recent changes within Mplus. This will lead to errors in subsequent steps.
As a temporary fix the problem, please delete all output that comes after the 'LOGISTIC REGRESSION ODDS RATIO RESULTS' section after running your round 3 calibration, before proceeding to the next step.
This message will appear after all subsequent steps.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.