cum_vax_pool_func_closure: closure to make vaccine production function

Description Usage Arguments Value

View source: R/helpers.R

Description

a closure to make a function which returns a scalar:

Usage

1
2
cum_vax_pool_func_closure(user_specified_cum_vax_pool_func,
  vax_production_params)

Arguments

user_specified_cum_vax_pool_func:

function of vax_production_params and t which returns the number of vaccines which have ever existed at time t

vax_production_params:

list of parameters for vaccine production

Value

function of t which returns the number of vaccines which have ever existed at time t


jameshay218/vaxedemic documentation built on Jan. 30, 2020, 2:58 a.m.