Hello,I am a little bit struggling with the following: I would like to draw a coplot and in each panel draw the curve and display the coefficients of the regression model y~a*x^b. I thought of running nls(y~a*x^b,...) in panel=function(x,y...){} when calling coplot. How can I do this? Alternatively, I could do the regression before graphing with coplot and just use the panel function to draw the resulting curve and print the formula. Again, how to write the part panel=function(x,y...) to implement this in coplot? Thank you very much!!! Marion
[[alternative HTML version deleted]] ______________________________________________ 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.