varEvol | R Documentation |
Plot the mean variance across all taxa for an increasing number of time points. If groups are given, compute the mean of beta diversity (assessed with Bray Curtis) across samples for each time point. Groups are interpreted as replicates, such that each group is assumed to cover the same time points in the same order.
varEvol(x, groups = c(), plot = TRUE, sd = FALSE)
x |
a community matrix with rows representing taxa and columns time points |
groups |
a vector with group assignments and as many entries as there are samples |
plot |
do the plot |
sd |
use the standard deviation instead of the variance |
a list with variances (or standard deviations if sd is true) and the intersection, slope, pval and adjR2 of the linear regression of variances against time
N=20 ts=glv(N=N,generateA(N)) out=varEvol(ts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.