Re: [R] non-linear optimisation ODE models

2017-02-26 Thread Thomas Petzoldt
Hi, fitting ODE models may also be done with package FME, see: Soetaert K, Petzoldt T. Inverse modelling, sensitivity and Monte Carlo analysis in R using package FME. Journal of Statistical Software. 2010(33): 1–28. http://dx.doi.org/10.18637/jss.v033.i03 or the (interactive) poster at: htt

Re: [R] non-linear optimisation ODE models

2017-02-16 Thread David Winsemius
> On Feb 15, 2017, at 1:43 PM, Jim Lemon wrote: > > Hi Malgorzata, > The function "rxnrate" seems to want three values in a list with the > names "k1", "k2" and "k3". If you are passing something with different > names, it is probably going to complain, so the names "A", "B" and "C" > may be you

Re: [R] non-linear optimisation ODE models

2017-02-15 Thread Jim Lemon
Hi Malgorzata, The function "rxnrate" seems to want three values in a list with the names "k1", "k2" and "k3". If you are passing something with different names, it is probably going to complain, so the names "A", "B" and "C" may be your problem. I can't run the example, so this is a guess. Jim

Re: [R] non-linear optimisation ODE models

2017-02-15 Thread Berend Hasselman
> On 15 Feb 2017, at 11:32, Malgorzata Wieteska via R-help > wrote: > > Hello, > I'm new to R, so sorry for this question. I found a piece of code on stack > overflow community, title: r-parameter and initial conditions fitting ODE > models with nls.lm. > I've tried to implement a change sugg

[R] non-linear optimisation ODE models

2017-02-15 Thread Malgorzata Wieteska via R-help
Hello, I'm new to R, so sorry for this question. I found a piece of code on stack overflow community, title: r-parameter and initial conditions fitting ODE models with nls.lm. I've tried to implement a change suggested, but I get an error: Error in unname(myparms[4], B = 0, C = 0) :   unused arg