Re: [R] nlme function examples for dose-respone

2012-09-25 Thread Christof Kluß
Hi, thx Bert, I forward the question. I forgot a detail. For each (location, plot, year) combination there are 6 (dose, response) pairs. $ plot: Factor w/ 4 levels "1","2","3","4": $ location : Factor w/ 5 levels "loc1","loc2",..: $ year: Factor w/ 3 levels "2009","2010",..: $ dose: num 27.3 32.

Re: [R] nlme function examples for dose-respone

2012-09-25 Thread Bert Gunter
1. Post on R-sig-mixed-models instead. Much more expertise and relevance there. 2. I would forget about mixed effects and treat the locations as fixed. With only 5, you don't have enough information to estimate the variance component with any precision anyway. 3. Feel free to ignore (2) and defe

[R] nlme function examples for dose-respone

2012-09-25 Thread Christof Kluß
Hi, I want to fit nonlinear dose-response curves, as "fun(X,a,b,c)", for each of our 5 trail locations. Our data basis is something like location plot year dose response For each location there are 4 plots as repetitions (over 3 years). So the interactions "location*year" and "location*plot" sho