plotR: Plotting the effective reproduction number (R)

View source: R/plot.R

plotRR 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 Aika (character string indicating the date), Alue (character string indicating the region) and val (numeric indicating the number of new cases)

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

plotForecast, dataCovidFin

Examples

data(dataCovidFin)
plotR(data=dataCovidFin, region='All regions')

RcmdrPlugin.RiskDemo documentation built on Nov. 13, 2023, 5:07 p.m.