[R] ode first step

Dieter Menne dieter.menne at menne-biomed.de
Wed May 13 18:40:09 CEST 2009


Benoit Boulinguiez <benoit.boulinguiez <at> ensc-rennes.fr> writes:

> I try to assess the parameters (K1,K2) of a model that describes the
> adsorption of a molecule onto on adsorbent.
> 
> equation: dq/dt = K1*C*(qm-q)-K2*q
> 
> I know the value of 'qm' and I experimentally measure the variables 'q',
> 'C', and the time 't'.
> 
> I'm early stuck on the use of the function 'ode' cause I don't get how to
> define the function 'func' required by 'ode'

Have a look at the lsoda documentation of the earlier package odesolve,
which has easier to understand examples.

Dieter




More information about the R-help mailing list