Ah Yes, good point. However, it still does not correct the situation. I still get NaN's. -- View this message in context: http://r.789695.n4.nabble.com/Trouble-embedding-functions-e-g-deltaMethod-in-other-functions-tp4662178p4662187.html Sent from the R help mailing list archive at Nabble.com.