[R] rtree() distances between tips as n by n matrix?

Ben Bolker bbolker at gmail.com
Tue Mar 29 02:27:22 CEST 2011


Brian Pellerin <brianpatrickpellerin <at> gmail.com> writes:

> If I generate a random tree with n=10 tips as rtree(n=10) say, is there a
> way to have the distances between all tips put into a n by n matrix?
> 

  You should probably send this to the r-sig-phylo (phylogenetics)
special interest group mailing list rather than the general R help
list; most of the people here have no idea that you're talking about
the random tree generating function from the ape package ...

  Ben Bolker



More information about the R-help mailing list