I am currently running some GLM's looking at different carnivore species and environmental variables. One of my variables is habitat which I have coded from 1-6. I ran the models with Poisson, but I think I need to use a different model as it may be assuming my habitat data is continuous like my other variables. Can anybody please tell me what type of model I should be using that can account for both numerical and categorical data sets combined (if that makes sense).
glm1<-glm(Jaguar_RAI~Habitat+Dist_river+Human_RAI+Fox_RAI+ Puma_RAI + Tayra_RAI+Ocelot_RAI,family = poisson()) summary(glm1) plot(glm1) #now test the sig relationship with spearmans because it's non parametric cor.test(Jaguar_RAI,Habitat,method = "spearman")