Re: [R] building binary tree

2012-06-27 Thread steven mosher
I believe chambers book has an example using S4 classes. which isnt much help for a beginner. you can do it the old school way. build it by hand with one vector of pointers and another data structure of leaf nodes. there is nothing magical about a tree. you can build one in basic or fortran. painf

[R] building 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. I've come across a lot of C++ code(nothing in R) and this is not helping. Any bady can help me? Bye Giuseppe -- View this message in context: http://r.7