fa.init {asreml} | R Documentation |
Estimate initial parameter values for factor analytic models from the observed variance-covariance matrix.
fa.init(data, model, scale = 1)
data |
A data frame containing the response and the base factors in the factor analytic (compound) model term. |
model |
A two sided formula with the response on the left and a first order
interaction with a factor analytic model term on the right. Valid
factor analytic model functions are |
scale |
Scales the variance-covariance matrix prior to calculating the parameter estimates (default is 1.0). |
A numeric vector of specific variances followed by the loadings if
the factor analytic function is fa
or rr
, otherwise
a numeric vector of loadings followed by the specific variances.
## Not run: init <- fa.init(data, fa(site,2):variety) ## End(Not run)