Statistical analyses
Fisher’s exact test was used to test the species differences in the use
of wasp nests and weaver nests. Chi-square test was used to examine if
the proportion of nested plant types vary between cordon-bleus.
Student’s t-test was used to test the species differences of the nest
heights. All statistical analyses and the visualization of figure 3 were
performed using R 3.4.4 (R core team 2018). I used the ggplot2 (Wickham
2016) and ggmap (Kahle and Wickham 2013) packages for the distribution
map (Fig. 3). All data used in this analyzes are provided in the
supplementary information (Appendix S1).