Produces graphs of various epidemic curves

1 |

`type` |
Type of compartment framework, with the choice of "SI" for Susceptible-Infectious diseases and "SIR" for Susceptible-Infectious-Removed |

`plottype` |
Plot type to be plotted, with the following choices: "complete" for plotting the number of susceptible, infected and removed individuals at each time point, "susceptible" for plotting the number of susceptible individuals at each time point, "newinfect" for plotting the number of newly infected individuals at each time point, and "totalinfect" for plotting the cumulative number of infected individuals at each time point |

`inftime` |
Times at which individuals become infected/infectious |

`removaltime` |
Time points where the individual is removed |

`tmin` |
Initial time point at which infection occurs, default value is one |

`timepoints` |
Specify time points at which the curve is plotted |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.