Re: [R] Drawing a tree in R

2008-11-30 Thread peterdc
Severin Hacker wrote: > > Hi, > > I've been trying to make use of the dendrogram class to plot a tree. > However, my attempts have failed so far because I'm not sure how to build > up the nested list. (where do I have to store the nodes?). The tree I want > to be drawn is like this: in the form

[R] Drawing a tree in R

2008-11-26 Thread Severin Hacker
Hi, I've been trying to make use of the dendrogram class to plot a tree. However, my attempts have failed so far because I'm not sure how to build up the nested list. (where do I have to store the nodes?). The tree I want to be drawn is like this: in the form (node, left child,right child) (roo