[R-sig-dyn-mod] accessing current state variable value in deSolve

Thomas Petzoldt thomas.petzoldt at tu-dresden.de
Fri Feb 20 16:26:16 CET 2015


Hi Roberto,

yes it is of course local as it should be.

Nevertheless, it is accessible by using the super-assignment operator 
"<<-". Another option would be to write values to a log file.

Thomas

Am 2015-02-20 um 4:08 PM schrieb Roberto Tatis Muvdi:
>
> Dear all.
>
> Is it possible to access the current value of a state variable during
> integration with deSolve's ode function? The state variable is local to
> ode's argument func.
>
> Thanks.
>
> Roberto



More information about the R-sig-dynamic-models mailing list