Re: [R] How to solve differential equations with a delay (time lag)?

2006-11-29 Thread Ravi Varadhan
y/Varadhan.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 29, 2006 5:26 PM To: Ravi Varadhan Cc: r-help@stat.math.ethz.ch Subject: Re: [R] How to solve differential equations with a delay (time la

Re: [R] How to solve differential equations with a delay (time lag)?

2006-11-29 Thread Setzer . Woodrow
lsoda does not solve delay differential equations, which is what you need to be able to do. A quick search on netlib (netlib.org) turned up one match for "delay differential equations": ode/ddverk.f, which might help (though not in R). R. Woodrow Setzer, Ph. D. National Center for Computational T

Re: [R] How to solve differential equations with a delay (time lag)?

2006-11-29 Thread Ravi Varadhan
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravi Varadhan Sent: Wednesday, November 29, 2006 4:45 PM To: r-help@stat.math.ethz.ch Subject: [R] How to solve differential equations

[R] How to solve differential equations with a delay (time lag)?

2006-11-29 Thread Ravi Varadhan
Hi, I would like to solve a system of coupled ordinary differential equations, where there is a delay (time lag) term. I would like to use the "lsoda" function "odesolve" package. However, I am not sure how to specify the delay term using the syntax allowed by odesolve. Here is an example