Published March 26, 2020 | Version 1
Software Open

An agent-based stochastic model for the propagation of a virus in a population

Creators

  • 1. LSCE

Description

This R code is an agent based stochastic model of the propagation of a virus in a population.

The code file is: model_covid.R

*Warning
It is provided "as is" under a free CeCill License (http://cecill.info/). You can download the code and the sample files, and run the code. Commercial use is not permitted.
Bear in mind that I am a data scientist for climate sciences. I am not an epidemiologist. This programme was devised to *illustrate* the impact of confinment on the spread of a virus.

The programme was written by Pascal Yiou (LSCE, March 2020). More information (with results and discussion) is given on:

https://cygnenoirblog.wordpress.com/2020/03/25/an-agent-based-model-of-covid-19/

The code comes with three sample R files (.Rdata), and three figures (.pdf), and a README.txt file.

 

Files

README.txt

Files (837.1 kB)

Name Size Download all
md5:353910aa4c43c52848ffa03c08a1f317
11.3 kB Download
md5:00dcdabcac709658179c57b3ab5f62f9
6.7 kB Preview Download
md5:90a877b34e369add14fe140706a3f90f
5.8 kB Preview Download
md5:e2141d21ddc77e94d924a077b1220750
210.4 kB Download
md5:a2e57d4fe6b5934d33574f22044d5b10
5.7 kB Preview Download
md5:36daafcd5381093fbb8f2f7ab99c0f28
295.7 kB Download
md5:56cdc138acc5e57a2b439fe8072994e1
5.7 kB Preview Download
md5:b915b8e2f131f53888d136931dde4f2c
295.9 kB Download