Re: [R] nonlinear model

2011-10-24 Thread David Stevens
Mitra You have a couple of problems. First, if you plot the data (plot(A~Pot)) you'll see there's little chance that an asymptotic, exponential equation describes your data because they don't rise from zero to Amax as your model assumes. If Pot is your only independent variable, the best model

[R] nonlinear model

2011-10-24 Thread mitra Rahmati
Hello, I am trying to do a nonlinear model using the "nls" command in R software. The data I am using is as follows: A<-c(7.132000,8.668667,9.880667,8.168000,10.86,10.381333,11.059333,7.589333,4.716667,4.268667,7.265333,10.309333,8.456667,13.359333,8.624000,13.571333,12.52,4.084667 ,NaN,Na

[R] Nonlinear model fitting of numerical integral function

2011-06-04 Thread arzensekd
Dear R List-Members, I wish to find the nonlinear least squares of function defined by an integral which must be evaluated numerically. Is that possible to implement in R? If it is possible, which problems I need to consider first? Many Thanks, Dejan -- View this message in context: http://r