Cheers, worked perfectly! -- View this message in context: http://r-sig-ecology.471788.n2.nabble.com/mapply-and-use-of-formula-y-x-tp7578734p7578736.html Sent from the r-sig-ecology mailing list archive at Nabble.com.