extract_components_uni {multifamm} | R Documentation |
Extract Model Components to be Compared from Univariate Model
Description
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.
Usage
extract_components_uni(model)
Arguments
model |
Univariate multiFAMM model object from which to extract the information. |
Details
So far the grid is fixed to be on [0,1].
Value
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.