Takes a parsed formula and data frame, and constructs:
The fixed-effects design matrix X
An offset vector (or NULL) extracted from
offset(...)termsRE group index vectors
RE slope matrices (if applicable)
Value
A list with:
y: response vector (or NULL). Acbind(successes, failures)response is resolved to the successes column.n_trials: binomial denominators when the response was written ascbind(successes, failures), otherwise NULLX: fixed-effects design matrixoffset: numeric vector or NULLre_terms: list of RE data structures (group indices, slope matrices)