Draws per-site rarefaction curves (expected richness as a function of
the number of individuals sampled) using the long-format output from
calculate_rarefaction
.
Details
Each site/quadrat is drawn as a separate line. Colors are mapped to
SiteID
using a discrete viridis palette for readability.
Examples
if (FALSE) { # \dontrun{
rr <- calculate_rarefaction(abund_matrix)
plot_rarefaction(rr)
} # }