I have a dataset of the Visitation Rate(VR) of 5 bird species on 3 species of flower, and the measured Pollen Deposition(PD) of each flower. Each flower species is represented by 20 individuals. Not all bird species visited every individual flower. I want to fit a linear mixed model with PD as dependent variable, VR and presence/absence of bird species as fixed variables, and individal plant ID as random effect. Sort of like PD ~ VR + bird.species (random=ID). However, I dont know how to do that, without making a variable for the presence/absence for each bird species. My current dataset looks like this:
So far I have tried the following code for the linear model, but writing it like this doesn't feel right. Also, I am unsure how to read the results when so many fixed variables are included.
# Linear mixed model
nlm1 <- lme(PD.adjusted ~ VR +
Purple + Green + Crested + Blue + Quit + Bull, data = data,
random = ~ 1 | Plant.ID)
# Store all model parameters in an object
m1_total <- summary(nlm1)