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