| genLambda | R Documentation |
Generate a loading matrix Lambda from various shortcuts, each assuming a simple structure.
Either define loadings, or define nIndicator and loadM (and optionally loadSD), or define
nIndicator and loadMinMax.
genLambda( loadings = NULL, nIndicator = NULL, loadM = NULL, loadSD = NULL, loadMinMax = NULL )
loadings |
A list providing the loadings by factor, e. g. |
nIndicator |
Vector indicating the number of indicators for each factor, e. g. |
loadM |
Either a vector giving the mean loadings for each factor or a single number to use for every loading. |
loadSD |
Either a vector giving the standard deviation of loadings for each factor or a single number, for use in conjunction with |
loadMinMax |
A list giving the minimum and maximum loading for each factor or a vector to apply to all factors. If set, loadings are sampled from a uniform distribution. |
The loading matrix Lambda.