Dear friends
As a result I get an array containing certain no of rows and columns. In the 
resultant array first row represents first node of a tree starting from left 
side, second row represents second node of that tree and so on. In the example 
below, the resultant tree contains 6 nodes.  We get the first node on L.H.S by 
splitting top node using variable 10, node 2 by taking start from the R.H.S 
node then splitting it using variables 7 and 11 respectively [ Note: 0's are 
not the variables ]. All the nodes are connected on this way to get the whole 
tree.  We can easily draw it manually. Now the question is, is it possible to 
draw it using R. Any help in this regard is needed. Thanks
     [,1] [,2] [,3] [,4]
[1,]   10    0    0    0
[2,]   10    7   11    0
[3,]   10    7   11    0
[4,]   10    7   13   11
[5,]   10    7   13   11
[6,]   10    7   13    0

regards
M. Azam



      
        [[alternative HTML version deleted]]

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