sokole / ltermetacommunities

LTER Metacommunity Synthesis Working Group
GNU General Public License v3.0
9 stars 8 forks source link

added function to compare shared taxa between sites #66

Closed nwisnoski closed 6 years ago

nwisnoski commented 6 years ago

@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.