Re: [R] Event-triggered change in value with a time-delay

2018-04-19 Thread Hannah Meredith
Hi David, Thank you for your suggestion- I will look into it some more. Thanks again, Hannah On Wed, Apr 18, 2018 at 5:09 PM, David Winsemius <dwinsem...@comcast.net> wrote: > > > On Apr 18, 2018, at 1:04 AM, Hannah Meredith <hrmeredit...@gmail.com> > wrote: > > &

[R] Event-triggered change in value with a time-delay

2018-04-18 Thread Hannah Meredith
Hello, I am solving a set of ODEs using deSolve and have run into a problem I would appreciate some advice on. One of the parameters (m) in the ODEs changes between two states when one of the variables (D) crosses a threshold (D_T) for the first time in either direction. Additionally, when the