Description Usage Arguments Details Value Author(s) Examples
View source: R/EcolUtils_functions.R
Split moving-window analysis based on multivariate community data and permutations.
1 2 |
comm.dist.mat |
Dissimilarity matrix. |
env.var |
Vector representing a continuous environmental variable. |
w.size |
Windows size (has to be even). |
nrep |
Number of randomizations for significance computation. |
probs |
Probabilities for confidence interval calculations. |
For each window the data is divided in two halves and the mean distance between samples belonging to a different half is divided by the mean distance between samples belonging to the same half. This is used as an statistic for which nrep
null statistics are computed by resampling the order of the distance matrix and significance is computed. A z-score of the statistic is also provided.
List containing: 1) data frame with the mean env.var
value of the two central samples of the window, the min and max env.var
values of the window, the statistic, its z-score and significance. 2) The mean and two quantiles of the null statistic based on the probs
, all the null values and a window-to-sample map.
Guillem Salazar <guillems@ethz.ch>
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.