setup_FE_model: Setup fixed effects part for longitudinal marker k

View source: R/setupFonctions.R

setup_FE_modelR Documentation

Setup fixed effects part for longitudinal marker k

Description

Setup fixed effects part for longitudinal marker k (internal function) input:

Usage

setup_FE_model(formula, dataset, timeVar, k, dataOnly)

Arguments

formula

with lme4 format (fixed effects and random effects in the same object)

dataset

that contains the outcome

timeVar

name of time variable

k

identifies the longitudinal marker among 1:K markers

dataOnly

boolean for internal use, indicates if only preparing data (i.e., not fitting the model) output:

Value

colnames(FE) names of the fixed effects (interactions are separated by ".X." instead of ":" to facilitate their manipulation)

FE values of the fixed effects


DenisRustand/INLAjoint documentation built on Sept. 27, 2024, 3:46 a.m.