[R] How to express a tree?

Hesen Peng hesen.peng at emory.edu
Tue Oct 27 18:06:28 CET 2009


Hello everybody,

I'm write a function whose output represents a tree. Can anyone please
recommend me some data structure in R which are good for expressing a
tree? The possible idea I'm having in my mind is to represent the
whole tree as a list in which a sublist (an element to the main list)
contains all its corresponding branches. Is there any simpler way of
doing this? Thank you very much.

Best wishes,

-- 
Hesen Peng
http://hesen.peng.googlepages.com/




More information about the R-help mailing list