outbreakteachR is a package designed to assist in demonstration of analysis associated to "paper outbreak" teaching practical. It is a collection of functions designed to ease analaysis of the paper outbreak practical within R. This includes importing and cleaning data from an excel sheet, viewing the infection network, visualising the outbreak as an animation, and calculating the epidemiological parameters associated with the practical.
To view the tutorial please click here
In addition, there is an updated google form version of the infection form that went with the practical, which can be located here.
To install the development version from github the package devtools is required.
install.packages("devtools")
library(devtools)
Once devtools is installed it is best to restart our R session. To do this either close RStudio or restart R (ctrl + shift + F10). Once your R session has been restarted the package can be installed and loaded using:
devtools::install_github("OJWatson/outbreakteachR")
library(outbreakteachR)
For bug reports, feature requests, contributions, use github's issue system.