@ninalany - Following up on our discussion, I added a new function to calculate the the number of species shared between each site. It aggregates across years, but could be placed in a for loop if you want yearly summaries. The function returns a matrix or a dataframe depending on the "output" argument, and plots a heatmap to visualize.
@ninalany - Following up on our discussion, I added a new function to calculate the the number of species shared between each site. It aggregates across years, but could be placed in a for loop if you want yearly summaries. The function returns a matrix or a dataframe depending on the "output" argument, and plots a heatmap to visualize.