Can you use a mixed effects model if your explanatory variable is count data?

gbc1

New Member
#1
I'm trying to look at the effect 'density' (count data) has on 'colour' (continuous data), and would like to include 'transect' (categorical) as a random effect.

In all the explanations and examples I've found the explanatory variable is categorical - is it simply not acceptable to run a mixed effects model with a continuous/count explanatory variable?

If it is possible which particular mixed model method should I use?

Many thanks in advance.