Sorry Ben. I haven't posted to these forums before and I didn't know what kind of response I would get. -- View this message in context: http://r.789695.n4.nabble.com/Create-subset-using-variable-tp4316812p4317213.html Sent from the R help mailing list archive at Nabble.com.