search for: combin2

Displaying 1 result from an estimated 1 matches for "combin2".

Did you mean: combine
2008 May 14
1
for loop, my program does not make a cycle
Dear R community, I wrote a small program using for loop but it does not make cycles. My data: Dataframes: a2, a1, b0 and b1. Vector: d I would like to get b1 for each of i., i.e. totally 11. However, the program gives me b1 only for the last i =11. d<-as.vector(levels(a2$combin2)) for (i in 1:11){ a1<-a2[a2$combin2%in%d[i],] b1<-b0[b0$Date%in%(a1$Date),] } Your help is appreciated. Maybe someone could also recommend me good literature on for loops in R? Thanks, Julia _________________________________________________________________ Get Free (PRODUCT) REDâ„¢ Emoti...