The taxa are added in decreasing order of abundance.

autocorVsTaxonNum(ts, lag = 1, plot = FALSE, col = "black",
  pch = "+")

Arguments

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

Value

a list with the taxon number, autocorrelations, slope and p-value

Examples

if (FALSE) { N=10 A=generateA(N,c=0.1) soi.ts=soi(N=N,I=1000,A=A,tend=100) res=autocorVsTaxonNum(soi.ts, plot=TRUE) }