Skip to content
Prev 17600 / 398503 Next

Solving quadratic functions

On Tue, 5 Mar 2002 Peter.Watkins at foodscience.afisc.csiro.au wrote:

            
Well, it's a FAQ

Differences between R & S: Models
   Whereas in S, you would use lm(y ~ x^3) to regress y on x^3, in R, you
   have to insulate powers of numeric vectors (using I()), i.e., you have
   to use lm(y ~ I(x^3)).


	-thomas


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Message-ID: <Pine.A41.4.44.0203041518200.144620-100000@homer10.u.washington.edu>
In-Reply-To: <1F8EDF0AE0FFC643BC8FE577BC4919E624AD99@tomtom-wb.mel.foodscience.afisc.csiro.au>