Skip to content

rarefy function in vegan, exporting to spreadsheet

1 message · Ansley Silva

#
Hi,
I have just joined the list and I hope I am submitting a question in the
correct format.

I have species data that I used to make rarefaction curves.  I made my
rarefaction curves based on a dataset where I averaged my traps based on a
predictor variable.  This worked fine, however, now I would like to get the
specific rarefied values and SE so I can use it for my diversity index in a
model.

With my uncollapsed dataset,  I get the error:

Error in if (any(sample > minsample)) warning(gettextf("Requested 'sample'
was larger than smallest site maximum (%d)",  :
  missing value where TRUE/FALSE needed

I think I understand the error itself, but I do not know how to correct for
it.  Essentially I would like to get rarefied values to use in a linear
model, but I am having difficulty extracting these values.  Help is greatly
appreciated.

Thanks,