Fits a mixed model at location l. Part of Step 1 of the FUI approach.
unimm(l, data, model_formula, family, residuals, caic, REs, analytic)
a list containing point estimates, variance estimates, etc.
location to fit the model
data frame containing all the variables in formula. Uses value fed to `fui`.
Character version of a two-sided formula object in lme4 formula syntax, produced within `fui`.
GLM family of the response. Uses value fed to `fui`.
Logical, indicating whether to save residuals from unsmoothed LME. Uses value fed to `fui`.
Logical, indicating whether to calculate cAIC. Defaults to FALSE
.
Logical, indicating whether to return random effect estimates. Uses value fed to `fui`.
Logical, indicating whether to use the analytic inference approach or bootstrap. Uses value fed to `fui`.