View source: R/setupFonctions.R
setup_RE_model | R Documentation |
Setup random effects part for longitudinal marker k (internal function) input:
setup_RE_model(formula, dataset, k)
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: |
colnames(RE_mat) names of the random effects
RE_mat values of the random effects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.