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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.