[R] Binary Tree Testing in "ape" package (a bug?)

Gundala Viswanath gundalav at gmail.com
Thu Sep 4 05:27:50 CEST 2008

Dear all,

I was testing the wonderful package APE.

However upon testing a particular Newick's format
tree - which I think to be a non-binary tree -
it yields different result as expected.

> library(ape)
> tree.hiv <- read.tree(text="(rat,mouse,(human,chimp));")
> is.binary.tree(tree.hiv)
[1] TRUE

Was that a bug in APE package?

- Gundala Viswanath
Jakarta - Indonesia

More information about the R-help mailing list