[R] Solving quadratic functions
Peter.Watkins@foodscience.afisc.csiro.au
Peter.Watkins at foodscience.afisc.csiro.au
Mon Mar 4 23:37:53 CET 2002
I'm examining the use of the 'lm' function to solve quadratic functions.
With S+ 2000, the 'lm' function can be used to solve eqns such as x1 + x2 +
x1^2 + x2^2 + x1*x2.
But, when trying this same eqn with R, the software does not produce any
coefficients for x1^2 or x2^2.
Is this a common problem?
I'm using ver. 1.3.1 under Win. 2000.
Thanks, Peter
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list