try
diag(vcv.phylo(your.tree))
Cheers,
Simon.
On 03/09/12 19:17, boyang zhe wrote:
Hi, everyone
I am new to ape and R programming. I have an unrooted tree. I use
root() function to reroot the tree by one outgroup. and then I try to
extract root to tip distance. the tree$edge.length only
blog: http://phytools.blogspot.com
-Original Message-
From: boyang zhe
Sent: Monday, September 03, 2012 5:17 AM
To: r-sig-phylo@r-project.org
Subject: [R-sig-phylo] tips to root brach length
Hi, everyone
I am new to ape and R programming. I have an unrooted tree. I use
root() function