Interactive SIR Model function in R
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Jan4-Ideas
README.md
SIR_interactive.R
SIRplot_time70beta1.4gamma0.3.png

README.md

SIR-interact

Interactive SIR Model function in R

A simple interactive function to graphically plot a basic infectious disease transmission model.

The compartmental model includes three compartments, Susceptible, Infected and Recovered (SIR Model)

This function allows the manual assignment of the following: the time period (in days) value of beta (transmission coefficient) value of gamma (recovery rate)

The output utilized the ggplot2 package to produce a plot, with the filename to include the parameters specified.