[R-sig-dyn-mod] Is there a output flag that indicates that stode has some problems with the run

Bos Longi bos.longi at online.de
Mon Jun 3 23:17:22 CEST 2013


Hi,

I made a few tests and as far as I see

attr(ans,"steady") == TRUE

indicates that stode found an equilibrium state within given tolerance 
limits, but I would do some additional tests, e.g. by computing partial 
derivatives for the stode solution.

I also wonder that there is no "diagnostics" function available as in 
deSolve.

Bos

On 6/2/2013 2:49 AM, Shankar V wrote:
> Hello,
>
> Is there a single flag as part of the output that indicates that stode
> didn't run properly (eg. steady state not reached, something singular
> etc.). This is not an issue when I run  a scenario one at a time. But if I
> want to explore a broad space of input parameters in a loop, I want to
> discard the values that caused problems.
>
> If I output "ans" as the variable from stode, I have tried using
> attr(ans,"steady") == TRUE to indicate runs without problems. Would that
> cover all scenarios of failure?
>
> I would appreciate any help.
>
> Regards,
> Shankar
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-dynamic-models mailing list
> R-sig-dynamic-models at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-dynamic-models
>



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