run_meta_county: county within state metaanalysis of incidence velocity

Description Usage Arguments Note Examples

View source: R/dometa.R

Description

county within state metaanalysis of incidence velocity

Usage

1
run_meta_county(nytc, state.in = "Massachusetts", verbose = TRUE, ...)

Arguments

nytc

nytimes_county_data() output

state.in

character(1)

verbose

logical(1) will print '.' after each county's optimal AR/MA orders found

...

passed to Arima_by_county

Note

The search for optimal AR/MA orders may throw warnings.

Examples

1
2
3
4
5
6
7
nytc = nytimes_county_data()
m1 = run_meta_county(nytc)
names(m1$drifts) = gsub(".drift", "", names(m1$drifts))
rmeta::meta.summaries(m1$drifts, m1$se.drifts)
o = order(m1$drifts)
rmeta::metaplot(m1$drifts[o], m1$se.drifts[o], labels=names(m1$drifts)[o], cex=.7, 
  xlab="Infection velocity (CHANGE in number of confirmed cases/day)", ylab="County")

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