Description Usage Arguments Details Value
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 model so that a smaller R object can be saved.
1 | extract_components(model, dimnames)
|
model |
multiFAMM model object from which to extract the information. |
dimnames |
Names of the dimensions of the model. |
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.
meanfun
: multiFunData object containing the estimated mean
function.
var_info
: List containing all eigenvalues and univariate
norms before the MFPC pruning step
eigenvals
: Vector of all multivariate eigenvalues.
uni_norms
: List of univariate norms of all
eigenfunctions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.