Displaying 1 result from an estimated 1 matches for "tp3744570p3744570".
2011 Aug 15
1
Selecting section of matrix
...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))# These are the adjacency matrices
per year
h
Thanks very much!
--
View this message in context: http://r.789695.n4.nabble.com/Selecting-section-of-matrix-tp3744570p3744570.html
Sent from the R help mailing list archive at Nabble.com.