Webinar Highlights & Recording: System Dynamics Modeling with R.
System Dynamics is a powerful approach to understanding complex systems in various fields, such as public health, ecology, and economics. Prof. Jim Duggan, an expert in applying System Dynamics and data science methods to public health, recently hosted a webinar on System Dynamics Modeling with R. In this session, Prof. Duggan provided insights into R’s capabilities for data analysis, visualization, and manipulation, as well as building and running Ordinary Differential Equation (ODE) models. Additionally, he discussed using R’s Shiny framework for creating interactive web apps and the prospect of forming a joint digital science tools group for R and Python users.
Exploring R’s Capabilities
Prof. Duggan showcased R’s potential by introducing packages such as ggplot2 and dplyr for data manipulation and visualization, deSolve for building models, and Tidyverse for data analysis. Moreover, he demonstrated creating interactive web apps using the Shiny package.
Visualizing Data with ggplot2 and GGCloud2
Ggplot2, a library from the Tidyverse, enables users to create graphs in R. Prof. Duggan demonstrated creating scatter plots with different visual properties, such as color, using the ggplot function with specific arguments. He also highlighted GGCloud2 as a flexible visualization tool that adds a fourth dimension to a plot using the facetwrap function.
Tidying Data in R
Prof. Duggan emphasized the importance of tidying data for easier processing in R. He showcased the use of pivot_longer for converting wide data into a tidy data format and dplyr as a powerful package for summarizing data. Techniques like grouping, summarizing, and data transformation can be performed using Tidyverse tools.
Building and Running ODE Models
R can be used to build and run ODE models, as Prof. Duggan demonstrated by defining stocks using vectors and generating models automatically with the deSolve package. He also discussed how Markov Chain Monte Carlo (MCMC) can be used to calibrate data using System Dynamics models, helping to find parameters from a dataset.
Interactive Web Apps with Shiny
Prof. Jim Duggan’s webinar on System Dynamics Modeling with R provided valuable insights into the capabilities of R for data analysis, visualization, manipulation, and ODE model building. The session was an excellent resource for those interested in exploring R’s applications in System Dynamics and data science.
Watch the recording for more!
Watch the recording below
About the Speakers
Prof. Jim Duggan’s research focus is the area of applying System Dynamics and data science methods to public health. This includes using System Dynamics to support pandemic preparedness and response, modeling scenarios of infectious disease outbreaks and applying agile software design methods to develop a safety planning mobile app to address suicidality in young people attending community mental health services in Ireland. Prof. Duggan is a Managing Editor for the System Dynamics Review and a member of the World Health Organisation’s Global Outbreak and Response Network (GOARN).
Call for Presenters: Seminar Series We at the System Dynamics Society are continually seeking vibrant and knowledgeable presenters for our ongoing Seminar Series. As we unfold the calendar, there’s always a place for more insights, experiences, and expertise to enrich...
Honoring Excellence: A Glimpse into the Awards of the International System Dynamics Conference The International System Dynamics Conference brings together experts, practitioners, and students to exchange ideas, showcase real-world applications, and celebrate...
From Bergen to Global: UiB’s System Dynamics Group The System Dynamics Group, an autonomous research group at the University of Bergen (UiB) was established in 1971 by professor emeritus Svein Nordbotten. Inspired by the work of Jay W. Forrester, Nordbotten...
Dear Colleagues, We are excited to invite you to our free webinar entitled ‘A Leverage Point: Systems Thinking in Pre-Service “Teacher Training” Education’ on Thursday, February 29, at 12:00 noon EST. We consider courses that train pre-service...
Recent Business cases
The World Bank Uses System Dynamics to Identify Root Causes of Poverty EXECUTIVE Summary Madagascar has one of the highest poverty rates in the world. In 2022, an astonishingly three out of every four people in Madagascar lived below the poverty line. Poverty has...
Fast-Track Cities Uses System Dynamics to Enhance HIV Care EXECUTIVE Summary Low levels of viral suppression at 69% for people with HIV make it hard to believe the 95% target level will be achieved by 2030 in St. Louis, USA. As a solution, Fast-Track Cities-STL opted...
System Dynamics Unravels ICU Tensions at the Portuguese Oncology Institute EXECUTIVE Summary The Portuguese Oncology Institute (IPO) faced a critical challenge in its intensive care unit (ICU) where doctors and nurses experienced high turnover due to tensions with...