Yes, it works, thanks for your help. -- View this message in context: http://r.789695.n4.nabble.com/How-to-create-multi-variables-tp4690465p4690572.html Sent from the R help mailing list archive at Nabble.com.