Displaying 1 result from an estimated 1 matches for "tp3484559p3484559".
2011 Apr 29
4
For loop and sqldf
...(DF$C))
for (t in 1:length(list))
{
year = as.character(list[t])
data[year]<-sqldf('select * from DF where C = [year]')
}
I am trying to split up the data.frame into 5 new ones, one for every year.
--
View this message in context: http://r.789695.n4.nabble.com/For-loop-and-sqldf-tp3484559p3484559.html
Sent from the R help mailing list archive at Nabble.com.