glmer2stan
.
parse_formula( formula , data )
parse_formula
is a list containing: (1) y
, the outcome variable; (2) yname
, the character name of the outcome; (3) fixef
, a vector of fixed effect names; (4) ranef
, a named list of varying (aka random) effect grouping variables, each containing a vector of factor names; (5) dat
, a data frame containing all of the needed variables in the fixed and varying effects, including the grouping variables.
glmer2stan