[R] Data structure in R

J. Burgos jmburgos at u.washington.edu
Mon Aug 13 02:50:15 CEST 2007


Hi Adschai,

R has a class for tree-like structures.  See the 'tree' package.

Julian

On Mon, 13 Aug 2007, adschai at optonline.net wrote:

> Hi,
>
> I have a question around how to build data structure in R. I have to implement a tree structure of data. I'm wondering if R already has something like a tree where I can extend from or I need to start from scratch. If so, what would be the most effective way to represent parent and child node relationship? I realize that R is not based on pointer so it's quite a different paradigm for me to code this. Thank you.
>
> - adschai
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list