View source: R/setupFonctions.R
setup_FE_model | R Documentation |
Setup fixed effects part for longitudinal marker k (internal function) input:
setup_FE_model(formula, dataset, timeVar, k, dataOnly)
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: |
colnames(FE) names of the fixed effects (interactions are separated by ".X." instead of ":" to facilitate their manipulation)
FE values of the fixed effects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.