Re: [R] fit a 2-variables function to data

2011-08-05 Thread Jannis
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 h

Re: [R] fit a 2-variables function to data

2011-08-05 Thread Petr PIKAL
> > Thanks Petr for your response. > > The function I wnat to fit is > > y = (k1 * v2_Kd *p1^v2_h) / ( (v2_Kd^v2_h) + p1^v2_h ) ) * ( 1/(1 + (p6/ > v5_Kd)^v5_h) ) > where p1 and p2 are the independent variables. > > v2_K2, v2_h, v5_Kd and v5_h are the parameters I have to estimate. In tha

[R] fit a 2-variables function to data

2011-08-05 Thread Paola Lecca
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. -- *Paola Lecca, PhD* *The Microsoft Research - Universi