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