[R] HELP on Non-Linera Mixed-Effect model

Dieter Menne dieter.menne at menne-biomed.de
Tue Feb 16 12:28:12 CET 2010



vaibhav dua wrote:
> 
> Hi,
> 
> I'm trying to fit nonlinear mixed effects model using nlme function but
> getting an error message. Here is what I have:
> 
> fitted_model = nlme(scores~spline(b1,b2,b3,kt,time), 
>            fixed = list(b1~1, b2~1, b3~1, kt~1),
>            random = b1+b2+b3~1, 
>            groups= ~id,
>            data = sdat,
>            start = c(b1=3.5,b2=2,b3=.60,kt=3.5),verbose=T)
> 

Use package nlmeSplines for this.

Dieter

-- 
View this message in context: http://n4.nabble.com/HELP-on-Non-Linera-Mixed-Effect-model-tp1556953p1557223.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list