I am analysing several amphibian sightings (6000+ records) to understand what environmental variables influence the presence and absence of amphibians. The response variable for each amphibian species is a logical vector (true,false), and the environmental factors comprise continuous numerical (road distance, pond distance) and categorical variables (months, years, areas). I created a Generalised Linear Mixed Model, (GLMM, package lme4) scaling down the numerical variables and I chose Area (where the sightings occured) as a random effect.
-Is the scaling /100 acceptable? Road distance and pond distance are in m. and often include big numbers (3000m, etc). Scaling also removed the rescaling error message that this model was initially giving me .
-Will the random effect work as intended (1|Area)? I am not sure about the synthax of this feature.
Thank you in advance.
Here is one of the amphibian models I created:
C.TOAD.BI<-glmer(C.TOAD~+Habitat.type+I(pond.dist/100)+I(road.dist/100)+I(urban.dist/100)+Year+Month+(1|Area), family = binomial(link="logit"),data = Amphibians)