Re: [R] Need help for nlme

2008-05-25 Thread Andrew Robinson
My advice is to try to simplify this as much as possible. When it is as simple as possible, it will either work or not work. If it works, then you have learned something useful. If it does not work, then send your question again. Right now there is a great deal of detail that may or may not be

[R] Need help for nlme

2008-05-25 Thread ctu
Hi everyone, I try to write a module based on nlme however R always shows me the error message Error in eval(expr, envir, enclos) : object "y" not found. Does anyone know how to solve this? There is no problem in nls at all. require(nlme) AMPmixed<-function(y, x, S1=c("asymptotic","logistic"