Learn R Programming

covid19.analytics (version 1.0)

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

Description

function to plot the results from the SIR model fn

Usage

# S3 method for SIR.model
plot(SIR.model, geo.loc = "", interactiveFig = FALSE, fileName = NULL)

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