setup_RE_model: Setup random effects part for longitudinal marker k

View source: R/setupFonctions.R

setup_RE_modelR Documentation

Setup random effects part for longitudinal marker k

Description

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

Usage

setup_RE_model(formula, dataset, k)

Arguments

formula

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

dataset

that contains the outcome

k

identifies the longitudinal marker among 1:K markers output:

Value

colnames(RE_mat) names of the random effects

RE_mat values of the random effects


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