setup_Y_model {INLAjoint}R Documentation

Setup outcome for longitudinal marker

Description

Setup outcome for longitudinal marker (internal function) input:

Usage

setup_Y_model(formula, dataset, family, k)

Arguments

formula

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

dataset

that contains the outcome

family

of the outcome (given to check if the distribution matches but the check is not done yet)

k

identifies the longitudinal marker among 1:K markers output:

Value

YL.name name of the outcome

YL values of the outcome


[Package INLAjoint version 24.3.25 Index]