Description Usage Arguments Value Examples
Calculate dendrogram and extract branch lengths for use in FD analysis.
1 2 3 |
S |
matrix or data frame of functional traits. Traits can be numeric, ordered, or factor. NAs are tolerated. |
w |
vector listing the weights for the traits in x. Can be missing, in which case all traits have equal weights. |
Distance.method |
metric to calculate the species distance matrix. Only Gower is implemented. |
ord |
character string specifying the method to be used for ordinal traits (i.e. ordered). "podani" refers to Eqs. 2a-b of Podani (1999), while "metric" refers to his Eq. 3. See gowdis for more details. |
Cluster.method |
Distance method used to produce the tree. UPGMA="average" is usually giving th ebest results (Podani et al. 2011) |
an xtree object
The queality of the tree is printed. The quality of the dendogram representation. clustering performance is assessed by the correlation with the cophenetic distance
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.