The output for the "check_model()" function in the performance package is providing the error "Variable 'Component' is not in your data frame " . I am using a glm.nb model and some of my other models do not give this error. Has anyone ever experienced this issue? How did you fix it?
glm1 <- glm.nb(Total_bySp ~ Dist_WaterM + OpenWaterLC + Percent_Deciduous +
PastureLC + Temp_high , data=Haem)
summary(glm1)
where all variables are numbers
why does this error occur?