I'm struggling to remove a handful out outliers from my glmer model in R.
Here's my model
Model2 <- glmer(OccupiedUnoccupied ~ log(Nearest_Conifer_Distance) + (1|Stand_Type), family="binomial", data=MicrohabitatLogs)
And here's my code to produce the F vs. R plot
binnedplot(fitted(Model2),
residuals(Model2, type = "response"),
nclass = NULL,
xlab = "Expected Values",
ylab = "Average residual",
main = "Binned residual plot, Microhabitat Model 2",
cex.pts = 0.8,
col.pts = 1,
col.int = "gray")
And here's the resulting plot Fitted vs. Residual Plot, Model 2
As you can see there's a handful of points far along the x-axis that are ruining my regression. Any help for identifying these points and removing them from my dataset for the regression?
I've tried the identify function as well, but as I click to identify those points on the far right end of the x-axis, it returns the following error message:
warning: no point within 0.25 inches
Which is obviously not correct. What can I try next?