powered by
linearMrca(tree, k = 0)
## generate a random tree x <- rtree(6) ## create matrix of MRCAs: entry (i,j) is the node number of the MRCA of tips i and j linearMrca(x,6)
Run the code above in your browser using DataLab