benefits: Benefits from vaccination

Description Usage Arguments Value Examples

Description

Computes the benefits obtained from vaccination by integrating the share of harm reduction over time.

Usage

1
benefits(monthben, capacities, endtimes, par)

Arguments

monthben

Benefits, i.e., total harm (economic + health) due to covid

capacities

List of vectors with capacities. Each vector represents a period. Elements in the vector represent the capacities for that period in each scenario.

endtimes

Vector of endtimes of all the periods

par

Parameters object with model parameters

Value

Total benefits from vaccination

Examples

1
2
3
cap = list(c(0.1,0.2,0.4),c(0.2,0.5,0.7))
par = Parameters$new()
ben = benefits(100, cap, c(3,4),par)

jc-castillo/vaccineEarlyInvest documentation built on Sept. 29, 2020, 12:48 p.m.