Re: [R] binary tree

2012-07-02 Thread Robert Baer
On 6/27/2012 3:20 AM, Peppino wrote: Hi I am new with R I Have to build a binary tree with R. I'm very confused was wondering if anyone had any R sample code they would share. Any bady can help me? You might want to look at the R Task view for phylogenetics: http://cran.r-project.org/web/views

[R] binary tree

2012-06-27 Thread Peppino
Hi I am new with R I Have to build a binary tree with R. I'm very confused was wondering if anyone had any R sample code they would share. Any bady can help me? Bye Giuseppe -- View this message in context: http://r.789695.n4.nabble.com/binary-tree-tp4634593.html Sent from the R help mailin

Re: [R] binary tree construction in R

2010-10-06 Thread Norm Matloff
On Tue, Oct 05, 2010 at 06:13:04PM -0400, Mike Marchywka wrote: > I guess it wouldn't be too far a field to discuss benefits > of data stucture exploration in R vs cpp or java- Especially > for something like this where you may want to time it in a multithreaded > setting- you can always instrume

Re: [R] binary tree construction in R

2010-10-05 Thread Mike Marchywka
inary_tree > From: marchy...@hotmail.com > To: matl...@cs.ucdavis.edu; r-help@r-project.org > > Date: Tue, 5 Oct 2010 14:57:40 -0700 > > From: matl...@cs.ucdavis.edu > > To: r-help@r-project.org > > Subject: Re: [R] binary tree

Re: [R] binary tree construction in R

2010-10-05 Thread Mike Marchywka
> Date: Tue, 5 Oct 2010 14:57:40 -0700 > From: matl...@cs.ucdavis.edu > To: r-help@r-project.org > Subject: Re: [R] binary tree construction in R > > MK wrote: > > > Hi all, > > > > I'm very new to R a

Re: [R] binary tree construction in R

2010-10-05 Thread Norm Matloff
MK wrote: > Hi all, > > I'm very new to R and I'm trying to construct a threaded binary tree using > recursive functions. > > I'm very confused was wondering if anyone had any R sample code they would > share. I've come across a lot of C++ code(nothing in R) and this is not > helping. > > best,

[R] binary tree construction in R

2010-10-04 Thread kateg
Hi all, I'm very new to R and I'm trying to construct a threaded binary tree using recursive functions. I'm very confused was wondering if anyone had any R sample code they would share. I've come across a lot of C++ code(nothing in R) and this is not helping. best, MK -- View this message

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

2008-09-04 Thread Christoph Heibl
If I am right informed, 'is.binary.tree' cannot test for root polytomies. Consider this example: tree.hiv <- read.tree(text="((rat,mouse,(human,chimp)), kangaroo);") is.binary.tree(tree.hiv)# will yield 'FALSE' For further questions you might be better advised to use the 'R-s

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

2008-09-03 Thread Gundala Viswanath
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] TRU