This is precisely what I needed; I can't believe how simple it is. Thanks! -- View this message in context: http://r.789695.n4.nabble.com/rowSums-problem-tp4632405p4632461.html Sent from the R help mailing list archive at Nabble.com.