Displaying 1 result from an estimated 1 matches for "tp3759597p3759597".
2011 Aug 22
1
Selecting cases from matrices stored in lists
...table(DF2[DF2$C %in% y, 1:2]))
years <- sort(unique(DF2$C))
f <- as.data.frame(embed(years, 3))
g<-lapply(split(f, f[, 1]), e)
h<-lapply(g, function (x) ifelse(x>0,1,0))
--
View this message in context: http://r.789695.n4.nabble.com/Selecting-cases-from-matrices-stored-in-lists-tp3759597p3759597.html
Sent from the R help mailing list archive at Nabble.com.