Description Usage Arguments Value Examples
All weighted pairwise distances for a list of trees
1 2 | weightMultiDistUnlab(trees, listoflabels = NA, weights = function(x)
ifelse(is.numeric(x), 1/(1 + log(x)), 1e-08))
|
trees |
A list of trees |
listoflabels |
Alternatively, a list of labels. If listoflabels is NA (the default), this function first computes the labels for the set of trees. If listoflabels is not NA, the labels are compared directly and the trees are ignored. |
weights |
A function in the form ifelse(is.numeric(x),VALUE1,VALUE2) where VALUE1 is the weight applied to labels that have not been hashed (fewer than 12 digits) and VALUE2 is the value if hashed. Default is (1/(1+log(x)) and 1e-8 |
An object of class 'dist' containing tree-tree distances
1 | dd=weightmultiDistUnlab(rmtree(10,12))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.