Posts Tagged ‘ deSolve ’

LondonR, 7 September 2011

September 11, 2011
By
LondonR, 7 September 2011

On 7 September 2011 I attended the London R user group meeting. It was a very good turn out with about 50 attendees at the Shooting Star, a pub close to Liverpool Street Station. The session started at 18:00 with four presentations, followed by drinks ...

Read more »

R Tools for Dynamical Systems ~ bifurcation plot in R for system of ODEs

June 12, 2010
By
R Tools for Dynamical Systems ~ bifurcation plot in R for system of ODEs

As per request, here is the code that I wrote to draw bifurcation plots in R. Bifurcation diagrams for discrete maps can be done using this code by James Jones. It is a little easier since approximation is not needed. In the following code, I used the deSolve library to draw bifurcation diagrams for a

Read more »

R Tools for Dynamical Systems ~ R pplane to draw phase planes

April 5, 2010
By
R Tools for Dynamical Systems ~ R pplane to draw phase planes

MATLAB has a nice program called pplane that draws phase planes of differential equations models. pplane on MATLAB is an elaborate program with an interactive GUI where you can just type the model to draw the phase planes. The rest you fidget by clicking (to grab the initial conditions) and it draws the dynamics automatically.

Read more »

Lotka-Volterra model ~ intro

March 30, 2010
By
Lotka-Volterra model ~ intro

So many know about the Lotka-Volterra model (i.e. the predator-prey model) in ecology. This model portrays two species, the predator (y) and the prey (x), interacting each other in limited space. The prey grows at a linear rate () and gets eaten by the predator at the rate of (). The predator gains a certain

Read more »