est_Rt: produce an MCMC-based EpiEstim Rt estimate on the 29-day...

Description Usage Arguments Note Examples

View source: R/est_Rt.R

Description

produce an MCMC-based EpiEstim Rt estimate on the 29-day series

Usage

1
est_Rt(aout)

Arguments

aout

instance of 'Arima_sars2pack' S3 class

Note

Simply uses the tsfull and dates29 components to call EpiEstim::estimate_R

Examples

1
2
3
4
5
6
7
nyd = nytimes_state_data()
ny = Arima_by_state(nyd, state.in="New York")
ee = est_Rt(ny)
od = options()$digits
options(digits=3)
tail(ee$R)
options(digits=od)

vjcitn/sars2app documentation built on Jan. 3, 2022, 12:19 a.m.