Re: [R] use of lm() and poly()

2009-12-23 Thread Benoit Boulinguiez
/Cordialement Benoit Boulinguiez -Message d'origine- De : Bert Gunter [mailto:gunter.ber...@gene.com] Envoyé : mardi 22 décembre 2009 18:26 À : 'Benoit Boulinguiez'; r-help@r-project.org Objet : RE: [R] use of lm() and poly() Get some statistical consulting help or read up on these topics

[R] use of lm() and poly()

2009-12-22 Thread Benoit Boulinguiez
Hi all, I want to fit data called metal with a polynominal function as dP ~ a.0 + a.1 * U0 + a.2 * U0^2 + a.3 * U0^3 + a.4 * U0^4 The data set includes, the independant variable U0 and the dependant variable dP. I've seen that the combination of lm() and poly() can do that instead of using the

Re: [R] use of lm() and poly()

2009-12-22 Thread Daniel Malter
-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Benoit Boulinguiez Sent: Tuesday, December 22, 2009 12:10 PM To: r-help@r-project.org Subject: [R] use of lm() and poly() Hi all, I want to fit data called metal with a polynominal function as dP ~ a.0 + a.1 * U0 + a.2

Re: [R] use of lm() and poly()

2009-12-22 Thread Bert Gunter
-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Benoit Boulinguiez Sent: Tuesday, December 22, 2009 9:10 AM To: r-help@r-project.org Subject: [R] use of lm() and poly() Hi all, I want to fit data called metal with a polynominal function as dP ~ a.0 + a.1 * U0 + a.2 * U0^2 + a.3 * U0^3