Hello Sarah, You may want to use a package instead of trying to implement those data structures. For example: http://www.bioconductor.org/packages/release/bioc/html/graph.html
Best, -m On 29 January 2013 11:22, Sarah Goslee <sarah.gos...@gmail.com> wrote: > In R, lists are used for that. See ?list or any intro to R for details. > > Sarah > > On Tuesday, January 29, 2013, cuiyan wrote: > >> Here is my problem, >> 100 decision trees were built(similar to random forest) and I want to >> replace some of them by new trees. >> How can I define a tree array including 100 trees, i.e. t[100], and every >> t[n] is an "C5.0" object, >> such that >> when a new tree comes, i can do >> n<-10 >> t[n]<-C5.0(...) >> >> >> >> > > -- > Sarah Goslee > http://www.stringpage.com > http://www.sarahgoslee.com > http://www.functionaldiversity.org > > [[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. ______________________________________________ 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.