ls.tree {phytools} | R Documentation |
Computes the least squares branch lengths conditioned on a topology and distance matrix. Internal function for optim.phylo.ls
.
ls.tree(tree, D)
tree |
phylogeny. |
D |
distance matrix. |
Do not use unless you know what you're doing.
A tree with branch lengths.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.