Amount of diet consumed
To assess the amount of diet consumed during the feeding trials, we ran a linear mixed model using the lme4 package (Bates et al., 2015), including pronotum width (a proxy for structural body size), diet (high protein or high carbohydrate), and tray number (1-7) as fixed effects, including all associated interactions, and individual identification as a random effect. We calculated the average amount of food consumed for each male by adding the total dry weight of food consumed and dividing by the number of trays measured. To analyze the average amount of food eaten, we included the main effect of diet, pronotum width as a covariate, and the interaction between the two in a generalized linear model with a Gamma error distribution and log link.