Description Usage Arguments Details Value Author(s) References Examples
Compute Kendall's coefficient of concordance (W)
1 |
data |
matrix in wide format where each row represents a different sample and each column represents a different variable. |
nrands |
Number of randomizations to perform to determine significance. Default is 0. |
type |
Randomization method. The |
quiet |
Suppress progress bar when set to |
Kendall's W is a non-parametric statistic that ranges from 0 to 1 and measures the level of agreement between multiple variables. When the number of observations n>10, its significance can be determined by using a χ^2 distribution with df=n-1. Legendre (2005) shows that the χ^2 test is always too conservative (low power) compared to the randomization test. Hence, both tests have been made available in this function. The Monte Carlo randomizations are performed by shuffling the columns of the community matrix independently (Legendre 2005).
Returns a named list containing:
w.uncorrected |
Kendall's W uncorrected for tied ranks |
w.corrected |
Kendall's W corrected for tied ranks |
pval |
p-value of Kendall's W |
spearman.corr |
Spearman's ranked correlation |
pval.rand |
p-value of Kendall's W based on randomization test.
This variable is only returned if |
rands |
randomizations. This variable is only returned if |
Tarik C. Gouhier (tarik.gouhier@gmail.com)
Buonaccorsi, J. P., J. S. Elkinton, S. R. Evans, and A. M. Liebhold. 2001. Measuring and testing for spatial synchrony. Ecology 82:1668-1679.
Gouhier, T. C., and F. Guichard. 2007. Local disturbance cycles and the maintenance of spatial heterogeneity across scales in marine metapopulations. Ecology 88:647-657.
Gouhier, T. C., F. Guichard, and A. Gonzalez. 2010. Synchrony and stability of food webs in metacommunities. The American Naturalist 175:E16-E34.
Legendre, P. 2005. Species associations: the Kendall coefficient of concordance revisited. Journal of Agricultural, Biological, and Environmental Statistics 10:226-245.
Purves, D. W., and R. Law. 2002. Fine-scale spatial structure in a grassland community: quantifying the plant's eye view. Journal of Ecology 90:121-129.
Zar, J. H. 1999. Biostatistical Analysis, Fourth edition. Prentice-Hall, Inc., Upper Saddle River, NJ.
1 2 | data(bird.traits)
(w=kendall.w(bird.traits))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.