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 18  |  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)
 
 
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.