View source: R/optim.phylo.ls.R
ls.tree | 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. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.