The R scripts correspond to the Technical Note "Did early shifts to bird pollination impose constraints on Salvia flower evolution?" by Sazatornil FD, Fornoni J, Fragoso-Martínez I, Pérez-Ishiguara R, and Benitez-Vieyra S. 

They reanalyze and provide alternative explanations to the data from Kriebel et al. 2020 (https://doi.org/10.1111/evo.14030).

To use the scripts, you have to follow these steps:
1- Download and extract files from Kriebel et al. (2020) Supplementary Material (https://datadryad.org/stash/dataset/doi:10.5061/dryad.q573n5tg5)
2- Put the scrips 1-8 and the extracted files in the same folder.
3- Scripts 1-8 must be run sequentially.
Warning! Some scripts create large objects to be used in subsequent steps.

Contact: Santiago Benitez-Vieyra santiagombv@gmail.com

April 21th 2022
