[R-sig-phylo] selecting terminal branch lengths?

Liam J. Revell lrevell at nescent.org
Tue Feb 9 04:24:19 CET 2010

Try this:

# given an object of class "phylo" called tree

# 1. create vector for terminal edge lengths

# 2. copy terminal branches into vector

# 3. label terminal branches by tip label

I think that should work.

- Liam

Liam J. Revell
NESCent, Duke University
web: http://anolis.oeb.harvard.edu/~liam/
NEW email: lrevell at nescent.org

mgavil2 wrote:
> Dear All
> I am trying to find a way to get a vector of only the terminal branch length
> for species in a phylogeny, but cant seem to find a way
> any suggestions?
> Best,
> Maria Mercedes

More information about the R-sig-phylo mailing list