Re: [R] Polynomial regression line

2011-10-28 Thread R. Michael Weylandt
I would think you could also do so with lines() directly, though you'll have to choose an appropriate mesh of points to do so. A little wrapper function could be written to do so pretty easily if you want to combine it with the scatterplot, but since the fitted values are already in the output o

Re: [R] Polynomial regression line

2011-10-28 Thread Ben Tupper
Hi, On Oct 28, 2011, at 11:49 AM, Fernando Andreacci wrote: > The cubic regression of my model is significant and I want to plot a line > that best fits. It's not abline() function, because it has a curve. Please, > how can I plot it? > Will curve() do it for you? ?curve Cheers, Ben > >