extract_components_uni {multifamm} | R Documentation |
This is an internal function that helps to compare different models. The models resulting from a multiFAMM() call are typically very big. This function extracts the main information from a univariate model so that a smaller R object can be saved.
extract_components_uni(model)
model |
Univariate multiFAMM model object from which to extract the information. |
So far the grid is fixed to be on [0,1].
A list with the following elements
error_var
: A list containing the following elements
model_weights
: Model weights used in the final multiFAMM.
modelsig2
: Estimate of sigma squared in the final model.
uni_vars
: Univariate estimates of sigma squared.
eigenvals
: List containing the estimated eigenvalues.
fitted_curves
: multiFunData object containing the fitted
curves.
eigenfcts
: multiFunData object containing the estimated
eigenfunctions.
cov_preds
: multiFunData object containing the estimated
covariate effects.
ran_preds
: List containing multiFunData objects of the
predicted random effects.
scores
: List containing matrices of the estimated scores.