Anonymous user
Polynomial regression: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 459:
<lang R>
x <- c(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
y <- c(1, 6, 17, 34, 57, 86, 121, 162, 209, 262, 321)
coef(lm(y ~ x + I(x^2)))</lang>
|