[R] Fitting parabolic function to data

Henri Mone henriMone at gmail.com
Thu Oct 6 10:59:36 CEST 2011


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 form.

Any help is welcome :) .

Greetings,
Henri



More information about the R-help mailing list