Thank you so much! That's exactly what I needed! much love -- View this message in context: http://r.789695.n4.nabble.com/filling-a-vector-with-a-tapply-function-applied-to-another-vector-tp3039271p3039396.html Sent from the R help mailing list archive at Nabble.com.