Displaying 1 result from an estimated 1 matches for "autoflu".
Did you mean:
autofdo
1997 Aug 15
2
R-beta: Polynomials in lm/glm
R users,
I was a bit surprised to find that when I attempted to add a polynomial
term to a linear model using either lm or glm as could be done in S
resulted in a fit without that term included and without warning(!!), e.g.
> lm(response ~ x + x^2, data).
As far as I can gather, there is no poly() yet in R, and if lm/glm do not
allow functions of variables as their formula arguements, is