R/autocorVsTaxonNum.R
autocorVsTaxonNum.RdThe taxa are added in decreasing order of abundance.
autocorVsTaxonNum(ts, lag = 1, plot = FALSE, col = "black", pch = "+")
| ts | a matrix with objects as rows and time points as columns |
|---|---|
| lag | the lag for which autocorrelation is computed |
| plot | plot the increasing number of taxa versus their autocorrelation |
| col | plot color |
| pch | plot point character |
a list with the taxon number, autocorrelations, slope and p-value