Generating a rarefaction curve from collector's curves in R within the tidyverse (CC198)

March 24, 2022 • PD Schloss • 1 min read

There’s really no reason to generate collector’s curves (aka species accumulation curves) or a rarefaction curve. But… seeing how to generate these curves is a convienent approach for illustrating the concepts behind rarefaction. Plus it gives us more practice to learn fun functions from the tidyverse. Along the way we’ll look at the effect of the number of iterations and compare this empirical approach to the exact solution that we used in the last episode. I’ll show how to synthesize and visualize the data using tools from base R, dplyr, ggplot2 and other tidyverse packages.

Code

You can browse the state of the repository at the