bs_binomial_model.Rd
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())
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()
.
a vector of observation. Pre-scaled and centered if desired.
This function should pre-calculate design matrices for each individual (assuming they are all unique)