Re: [R] lsoda warning "too much accuracy requested"

2008-11-22 Thread Thomas Petzoldt
A short addendum, resulting from an off-list discussion: The reason why Colleen's code failed was raising a negative base to a fractional exponent in the third state equation for certain sets of parameters, esp. fractional values of beta. Old versions of odesolve broke down, and recent versio

Re: [R] lsoda warning "too much accuracy requested"

2008-11-21 Thread Thomas Petzoldt
Hi Colleen, this error was not uncommon and is usually a sign of a numerically problematic or wrongly implemented model. Please use package deSolve, the successor of odesolve, that is more robust and has also a bunch alternative solvers for difficult cases. I tested your code with deSolve (o

[R] lsoda warning "too much accuracy requested"

2008-11-21 Thread Colleen Carlson
Dear list - Does anyone have any ideas / comments about why I am receiving the following warning when I run lsoda: 1: lsoda-- at t (=r1), too much accuracy requested in: lsoda(start, times, model, parms) 2: for precision of machine.. see tolsf (=r2) in: lsoda(start, times, model,