Re: [R-sig-phylo] The Curious Behavior of is.binary.tree

2014-01-22 Thread David Bapst
That all sounds great as gravy to me, Emmanuel. Thanks for clarifying the help file. -Cave On Wed, Jan 22, 2014 at 4:08 AM, Emmanuel Paradis wrote: > Hi David, > > You are right about this help page which is not so accurrate. I have > modified it with: > > "The test differs slightly whether the

Re: [R-sig-phylo] The Curious Behavior of is.binary.tree

2014-01-22 Thread Emmanuel Paradis
Hi David, You are right about this help page which is not so accurrate. I have modified it with: "The test differs slightly whether the tree is rooted or not. An urooted tree is considered binary if all its nodes are of degree three (i.e., three edges connect to each node). A rooted tree

Re: [R-sig-phylo] The Curious Behavior of is.binary.tree

2014-01-16 Thread David Bapst
Liam and to those who responded privately, Yes, I understand that's the general reasoning for why ape refers to trees with a polytomous root as 'unrooted'. But if a tree with a basal trichotomy is an acceptable binary tree, this doesn't jive with the help description for is.binary.tree in ape. Th

Re: [R-sig-phylo] The Curious Behavior of is.binary.tree

2014-01-15 Thread Liam J. Revell
Hi David. In an unrooted, fully dichotomous tree each internal node is attached to three & exactly three nodes (some of which are tips). (In a rooted binary tree one additional internal node exists, the root, which is attached to only two nodes.) Ancestor & descendant have no meaning until th

[R-sig-phylo] The Curious Behavior of is.binary.tree

2014-01-15 Thread David Bapst
Hi Emmanuel and the rest of the list, In some code, I use the ape function is.binary.tree to test if a phylogeny is fully dichotomous. However, some recent analyses have made me wonder if this wasn't the right choice. I'm not sure if the following is a bug report me or me not understand the reason