Eta is a matrix of individual-level parmaters for a B-spline with equivalent knots over all individuals

bs_binomial_model(observation_model_parameters, MegaLMM_state = list())

Arguments

observation_model_parameters

a list including: observations, a data.frame with columns: ID, N and covariate, ordered by ID. and the variables df, knots, degree and intercept. Empty values will use the defaults for bs().

Y

a vector of observation. Pre-scaled and centered if desired.

Details

This function should pre-calculate design matrices for each individual (assuming they are all unique)