refit_for_weights {multifamm} | R Documentation |
This is an internal function. Refit the model under an independence assumption now with the basis functions from the MFPCA. Goal is to extract an estimate for the error variances.
refit_for_weights(formula, data, model_list)
formula |
Formula to fit the final model. |
data |
Data that contains all the variables specified in formula. |
model_list |
List containing sparseFLMM objects for each dimension |