Good day for all,

I'm a beginner aRgonaut, thus I'm having a problem to plot a quadratic model
of regression in a plot.
First I wrote:

>plot(Y~X)

and then I tried:

>abline(lm(Y~X+I(X^2))

but "abline" only uses the first two of three regression coefficients, thus
I tried:

>line(lm(Y~X+I(X^2))

but a message error is showed ("insufficient observations").

Therefore, I want to know: how could I plot a quadratic line in my plot
graph?

thanks!

	[[alternative HTML version deleted]]


