Classification and prevalence estimation to infer insect feeding in the field.
These are the scripts complementary to the paper "Inferring insect feeding patterns based on sugar profiles:a comparison of statistical methods" published in Ecological Entomology (Appendix S11). To download them, click the "Code" tab (in green) and then click on "Download ZIP".
Read "README - How to use the scripts" for a detailed guide on how to use the scripts.
For now, these are the first versions of the script. Updates will be described here.
21_28_09 - Random Forests.R version 1.1: The script allowed to extract the confusion matrix only for a 3-class problem. It can now be used for any number of classes.
20_19_11 - Predicting the field data.R version 1.1: comments about the effect of field dataset size on prevalence estimation in light of recent results.