a vector of phenotypic item names that load on the latent factor
factor
whether to estimate a regression from the SNP to the latent factor (default FALSE)
res
character vector. Which indicators to estimate a regression to
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