Calculate fixed effect variance from a reduced model
fixvar_of_red_mod(partvar, mod, dat, expct, overdisp_name, R2_type)
R2 of reduced model.
One or more fixed effect variables which are taken out of the model.
merMod object.
Data.frame to fit the model
Expectation
Name of overdispersion term
"marginal" or "conditional"