I am using buildglmmTMB to build a model for several different taxa. I have 700 ish taxa and ~10 effects. I have a script that loops through all the taxa and applies buildglmmTMB to each taxon individually. I have two random effects that need to remain across all models. The default of buildglmmTMB is backwards stepwise elimination so it removes the least effective predictors first.
My question is, does buildglmmTMB remove random effects? I can't compare across taxa if one family had one random effect and another had two random effects in the model. I have looked into the documentation and it seems to imply that random effects are left untouched if "backward" and "order" are the specified direction (default). Is there a way to protect the random effects from elimination?