predict_sparseFLMM_covar: Predict The Covariate Effects of a Univariate sparseFLMM...

predict_sparseFLMM_covarR Documentation

Predict The Covariate Effects of a Univariate sparseFLMM Model

Description

This function helps to compare univariate sparseFLMM models to multiFAMM models. This functions predicts the covariate effects of a model that has the structure of a regression model fitted by sparseFLMM().

Usage

predict_sparseFLMM_covar(model, type = "terms", unconditional = FALSE,
  grid = seq(0, 1, length.out = 100))

Arguments

model

sparseFLMM model with covariates.

type

Gam terms to be predicted.

unconditional

Std conditional on lambda.

grid

Grid of evaluation points. Defaults to observations on [0,1].

Details

This functions' name in the thesis was predict_model().


alexvolkmann/multifammPaper documentation built on Sept. 9, 2024, 8:47 p.m.