setup_RE_model {INLAjoint} | R 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
[Package INLAjoint version 24.3.25 Index]