benefitIntegral: Benefit integral

Description Usage Arguments Value Examples

Description

Computes the share of benefits obtained from vaccinating a fraction frac of the population is by the end of the analysis period.

Usage

1

Arguments

frac

Fraction of population that has been vaccinated by the end of the period

par

Parameters object with model parameters

Value

Share of benefits obtained (numeric between 0 and 1)

Examples

1
2
3
piecewisepar <- list(vaccshares=c(0.2,0.4,0.7),  damageshares=c(0.5,0.8,1))
par <- Parameters$new(piecewisepar=piecewisepar)
benefitIntegral(0.5, par)

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