[R] Need help with nlme code

2010-11-02 Thread Muhammad Yaseen
*Dear All,* * * *I got a very simple for you. Please help me to come up with the R code in nlme for the following SAS code:* * * *{* proc mixed data=spatvar; model yield = ; repeated / subject = intercept type= sp(sph)(row col); parms (0 to 10 by 2.5) (1 to 10

[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),

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