The goal of this repository is to walk the user through the data analyses shown in “Impacts of agrochemicals and spatial isolation on the assembly and reassembly of temporary pond metacommunities”.
Here you can find the r code the run the results shown in the main paper for:
Predatory insects
Non-predatory insects
Amphibians
These are the same analysis as above (only the main ones) but using different approaches, including comparissons between model selection through AICc VS frequentist Likelihood Ratio Tests, and mixed models using pond ID as random effect and pooling samples from the same pond together:
Total abundance of predatory insects - Comparison of different approaches
Total abundance of non-predatory insects - Comparison of different approaches
Total abundance of amphibians insects - Comparison of different approaches
Community structure of predators - Comparison of different approaches
Community structure of non-predators - Comparison of different approaches
This is a simulation of the effect of pooling samples together:
Effect of pooling samples together
This is an example of why we excluded really rare species before analyzing our data.
Effect of excluding rare species