[R] Can I define a object array in R?

cuiyan cuiyan at tjutcm.edu.cn
Tue Jan 29 08:01:46 CET 2013


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(...)



--
View this message in context: http://r.789695.n4.nabble.com/Can-I-define-a-object-array-in-R-tp4656909.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list