Description Usage Arguments Value Author(s) References Examples
Calculates the root square of Rao's dissimilarity coefficient between samples.
1 |
samples |
a data frame with elements as rows, samples as columns, and abundance, presence-absence or frequencies as entries |
dis |
an object of class |
structures |
a data frame containing, in the jth row and the kth column, the name of the group of level k to which the jth population belongs. |
Returns a list of objects of class dist
Sandrine Pavoine pavoine@mnhn.fr
Rao, C.R. (1982) Diversity and dissimilarity coefficients: a unified approach. Theoretical Population Biology, 21, 24–43.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | data(humDNAm)
humDNA.dist <- disc(humDNAm$samples, sqrt(humDNAm$distances), humDNAm$structures)
humDNA.dist
is.euclid(humDNA.dist$samples)
is.euclid(humDNA.dist$regions)
## Not run:
data(ecomor)
dtaxo <- dist.taxo(ecomor$taxo)
ecomor.dist <- disc(ecomor$habitat, dtaxo)
ecomor.dist
is.euclid(ecomor.dist)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.