2.5 | Statistical analysis
All analyses were executed with R 3.5.2 for Mac OSX. The package
’tidyverse’ was used for data shaping and arrangement. The factors
affecting the number of seeds (or dummy seeds) carried by ants were
analyzed using a generalized linear mixed model (GLMM) and likelihood
ratio test. We used the zero inflated Poisson distribution with the
function glmmTMB from the package ’glmmTMB’. In this analysis, colony
identity was set as the random effect and the odor conditions were the
explanatory variables. Chi-square tests were performed to examine
whether the destination of the dummy seeds was biased.