Hi Adschai,

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

Julian

On Mon, 13 Aug 2007, [EMAIL PROTECTED] 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@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.
>

______________________________________________
R-help@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.

Reply via email to