Re: [R] Fwd: Using odesolve to produce non-negative solutions

2007-06-11 Thread Jeremy Goldhaber-Fiebert
suggestions. Jeremy Goldhaber-Fiebert wrote: Hello, I am using odesolve to simulate a group of people moving through time and transmitting infections to one another. In Matlab, there is a NonNegative option which tells the Matlab solver to keep the vector elements of the ODE solution non

Re: [R] Fwd: Using odesolve to produce non-negative solutions

2007-06-11 Thread Jeremy Goldhaber-Fiebert
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Goldhaber-Fiebert Sent: Monday, June 11, 2007 11:47 AM To: Spencer Graves Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Fwd: Using odesolve to produce non-negative solutions Hi Spencer, Thank you

[R] Using odesolve to produce non-negative solutions

2007-06-06 Thread Jeremy Goldhaber-Fiebert
Hello, I am using odesolve to simulate a group of people moving through time and transmitting infections to one another. In Matlab, there is a NonNegative option which tells the Matlab solver to keep the vector elements of the ODE solution non-negative at all times. What is the right way to

[R] Fwd: Using odesolve to produce non-negative solutions

2007-06-06 Thread Jeremy Goldhaber-Fiebert
Hello, I am using odesolve to simulate a group of people moving through time and transmitting infections to one another. In Matlab, there is a NonNegative option which tells the Matlab solver to keep the vector elements of the ODE solution non-negative at all times. What is the right way to