View source: R/covid19_models.R
plt.SIR.model | R Documentation |
function to plot the results from the SIR model fn
plt.SIR.model(
SIR.model,
geo.loc = "",
interactiveFig = FALSE,
fileName = NULL,
interactive.display = TRUE,
add.extras = TRUE
)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.