Although the subsample() function was developed for estimating turnover rates and diversity changes over multiple time intervals, it was adapted to execute subsampling on single samples.
Let’s say that we have a sample of 20 species, where species have the following number of specimens:
# counts of specimens counts <- c(35,19,13,9,6,4,2,2,2,2,2,2,2,1,1,1,1,1,1,1) Preparing data The current version of divDyn can only accept extended formats for ecological samples. This means that every specimen (identity) has to be present as a separate object.