Skip to contents

Get subpopulation data

Usage

get_subpop_data(add_auxiliary_site, state_pop, pop_ww, n_ww_sites)

Arguments

add_auxiliary_site

Boolean indicating whether to add another subpopulation in addition to the wastewater sites to estimate R(t) of

state_pop

The state population size

pop_ww

The population size in each of the wastewater sites

n_ww_sites

The number of wastewater sites

Value

A list containing the necessary integers and vectors that stan needs to estiamte infection dynamics for each subpopulation

Examples

subpop_data <- get_subpop_data(TRUE, 100000, c(1000, 500), 2)