Thank you very much both! That's exactly what I was trying to get. -- View this message in context: http://r.789695.n4.nabble.com/R-help-with-different-combinations-of-vectors-of-different-sizes-tp3950940p3950997.html Sent from the R help mailing list archive at Nabble.com.