| aMNLFA.simultaneous {aMNLFA} | R Documentation | 
aMNLFA simultaneous model fitting function
Description
This function generates the simultaneous aMNLFA model from all the initial inputs.
Usage
aMNLFA.simultaneous(input.object, keepmean = FALSE)
Arguments
| input.object | The aMNLFA object (created using the aMNLFA.object function) which provides instructions for the function. | 
| keepmean | Boolean. If intercept or loading DIF are present, should the corresponding mean impact effect be retained? Defaults to FALSE. | 
Value
No return value. Generates a file entitled "round3calibration.inp", to be run in Mplus, in the directory specified in the aMNLFA.object.
Examples
## Not run: 
 wd  <-  tempdir()
 first <- paste0(system.file(package='aMNLFA'),"/extdata")
 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.simultaneous(ob)
 
## End(Not run)
[Package aMNLFA version 1.1.2 Index]