plt.SIR.model: function to plot the results from the SIR model fn

View source: R/covid19_models.R

plt.SIR.modelR Documentation

function to plot the results from the SIR model fn

Description

function to plot the results from the SIR model fn

Usage

plt.SIR.model(
  SIR.model,
  geo.loc = "",
  interactiveFig = FALSE,
  fileName = NULL,
  interactive.display = TRUE,
  add.extras = TRUE
)

Arguments

SIR.model

model resulting from the generate.SIR.model() fn

geo.loc

optional string to specify geographical location

interactiveFig

optional flag to activate interactive plot

fileName

file where to save the HTML version of the interactive figure

interactive.display

boolean flag to indicate whether the interactive plot will be displayed (pushed) to your browser

add.extras

boolean flag to add extra indicators, such as, the "force of infection" and time derivatives


covid19.analytics documentation built on Aug. 18, 2022, 9:06 a.m.