ls.tree {phytools} | R Documentation |
Computes the least squares branch lengths conditioned on a topology and distance matrix.
ls.tree(tree, D)
tree |
phylogeny. |
D |
distance matrix. |
Generally intended as a function to be used internally by optim.phylo.ls
.
A tree with branch lengths.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.