a vector of item names that load on the first latent factor
F2itemNames
a vector of item names that load on the second latent factor
covariates
a vector of data column names to use as covariates
...
Not used. Forces remaining arguments to be specified by name.
fitfun
the name of the fit function to optimize
minMAF
minimum minor allele frequency. Only used when fitfun=WLS
modelType
whether to use the RAM or LISREL parameterization
gxe
a vector of data column names. Creates additional data
columns named paste0('snp_',columnName) that are the
product of the SNP and the data in columnName
# NOT RUN {pheno <- list()
for (i in1:10) pheno[[paste0('i',i)]] <- rnorm(500)
pheno <- as.data.frame(pheno)
buildTwoFac(pheno, paste0('i',1:6), paste0('i',5:10))
# }