Skip to content
Prev 5428 / 7420 Next

Rarefaction: scaling by individual accumulation as samples are pooled one by one

Hello there,

I'm using R Version 3.3.1 and the Vegan package.

I have created rarefaction curves for my invertebrate community dataset.  I
have 2 sites: Contaminated (ap) and Uncontaminated (st).  Both are centered
around a pond.  At the contaminated site the contaminated in concentrated
in the pond.  So there is a gradient: distance away from water.   At each
site I have transects along a gradient with 4 distances away from the
ponds.  There is 0, 100, 200, and 300 meter away from the water's edge.  So
in the Rarefaction graph I have 8 curves representing samples collected
from the 4 distances for each of the two site (as can be seen from my
graph).
What I would like to do is created a rarefaction graph with only two
curves, representing contaminated and uncontaminated, where the x-axis is
still scaled by the number of individuals, but there is accumulation by
pooling distances one by one.  Similar to the example in Fig.3 (the lower
graph) of old growth vs. second growth in Colwell et al. 2004.  I am just
having trouble with coding this and haven't found any examples.

Thanks for any help,