Thank you, it worked! -- View this message in context: http://r.789695.n4.nabble.com/calculate-with-different-columns-from-different-datasets-tp4674918p4675116.html Sent from the R help mailing list archive at Nabble.com.