Re: [R] Fitting parabolic function to data

2011-10-06 Thread Henri Mone
Hi Duncan, Thanks for your reply. You saved my Day :) Thanks, Henri On Thu, Oct 6, 2011 at 12:07 PM, Duncan Murdoch wrote: > On 11-10-06 4:59 AM, Henri Mone wrote: >> >> Dear R users and experts, >> >> I want to fit a shifted parabolic function with the following >> functional form to my data

Re: [R] Fitting parabolic function to data

2011-10-06 Thread Duncan Murdoch
On 11-10-06 4:59 AM, Henri Mone wrote: Dear R users and experts, I want to fit a shifted parabolic function with the following functional form to my data: f(x)=a0*(x+a1)^2+a2 (a0, a1 and a2 are scaling factors.) What is standard approach to do this in R? I tried the "lm" function in R but I go

[R] Fitting parabolic function to data

2011-10-06 Thread Henri Mone
Dear R users and experts, I want to fit a shifted parabolic function with the following functional form to my data: f(x)=a0*(x+a1)^2+a2 (a0, a1 and a2 are scaling factors.) What is standard approach to do this in R? I tried the "lm" function in R but I got problems getting the above functional f