What kind of tree do you want? The sos() package can help you find R functions associated with a particular topic:
# install.packages('sos') library('sos') > findFn('tree') found 2798 matches; retrieving 20 pages, 400 matches. 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 > findFn('classification tree') found 202 matches; retrieving 11 pages 2 3 4 5 6 7 8 9 10 11 > findFn('regression tree') found 339 matches; retrieving 17 pages 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 The results from each request are displayed in your browser. Hope this enough to get you started... Dennis On Mon, Oct 24, 2011 at 11:32 AM, sihuapeng <sihuap...@gmail.com> wrote: > I have the data set like this: > A B C D E > A 2 235 327 278 2569 > B 244 5 122 248 259 > C 324 2235 13 98 69 > D 22 23 2 7 6569 > E 23 2 2 278 9 > > This is the interaction data between A, B, C, D, and E. > > How to construct a tree including A-E? > > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/tree-construction-tp3934113p3934113.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. > ______________________________________________ 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.