[R] fit a 2-variables function to data

Jannis bt_jannis at yahoo.de
Fri Aug 5 15:04:56 CEST 2011


The answer pretty much depends on the kind of model you want to fit. For 
standard model would imagine that you do not need any R packages for this.

Have a look at:

?lm #for linear models
?nls #for non linear stuff

If you would have googled:

"R fit model tutorial"

prior to posting you would have found many helpful tutorials.


HTH
Jannis

On 08/05/2011 02:40 PM, Paola Lecca wrote:
> Dearl all,
>
> I have to fit a function
>
> y = f(x1, x2)
> to data experiemntal data describing the measured behavior of y.
>
> x1 and x2 are the independent variables.
>
> Could you suggest me wich R package can I use for this purpose?
>
> Thanks,
> Paola.
>
>



More information about the R-help mailing list