plotR {RcmdrPlugin.RiskDemo} | R Documentation |
Plotting the effective reproduction number (R)
Description
This function plots a time series of the effective reproduction number R and its confidence interval.
Usage
plotR(data, region, start = NULL, end = NULL, confInt = 0.95)
Arguments
data |
data frame including columns |
region |
characters string indicating the region for which the R series is computed |
start |
beginning date of the time window for which the R is computed |
end |
ending date of the time window for which the R is computed |
confInt |
decimal between 0 and 1, indicating the level of the confidence interval of R |
Value
No value
Author(s)
Arto Luoma <arto.luoma@wippies.com>
See Also
Examples
data(dataCovidFin)
plotR(data=dataCovidFin, region='All regions')
[Package RcmdrPlugin.RiskDemo version 3.2 Index]