Learn R Programming

phytools (version 0.2-40)

ls.tree: Least squares branch lengths for a given tree

Description

Computes the least squares branch lengths conditioned on a topology and distance matrix. Internal function for optim.phylo.ls.

Usage

ls.tree(tree, D)

Arguments

tree
phylogeny.
D
distance matrix.

Value

  • a tree with branch lengths.

Details

Do not use unless you know what you're doing.