Thank you so much Jean! -- View this message in context: http://r.789695.n4.nabble.com/If-then-statement-if-in-a-list-then-tp4638346p4638351.html Sent from the R help mailing list archive at Nabble.com.