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

From: Ben Bolker <>
Date: Tue, 29 Mar 2011 00:27:22 +0000

Brian Pellerin <brianpatrickpellerin <at>> 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 mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue 29 Mar 2011 - 00:31:10 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 29 Mar 2011 - 03:00:25 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive