Skip to content

Instantly share code, notes, and snippets.

@t0mst0ne
Last active September 16, 2015 09:29
Show Gist options
  • Save t0mst0ne/89aab002844c0d731000 to your computer and use it in GitHub Desktop.
Save t0mst0ne/89aab002844c0d731000 to your computer and use it in GitHub Desktop.
Dengue for R0 analysis
library(R0)
dengue2015 <- read.csv("dengue_for_R.csv",head=TRUE,sep=",",stringsAsFactors= TRUE)
check.incid(dengue2015)
mGT <- generation.time("gamma", c(3,1.5))
SB <- est.R0.SB(dengue2015, mGT)
plot(SB)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment