countryNetBenefits: Net benefits for a country

Description Usage Arguments Value

View source: R/distributions.R

Description

Expected net benefits for a country that invests in a certain portfolio. This function is typically called by portfolioPriceTaker(), which contains pre-processing of relevant inputs.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
countryNetBenefits(
  capacities,
  dcandidate,
  targetPermutations,
  dplatforms,
  grid = 1,
  price,
  par,
  lambda = 1
)

Arguments

capacities

Vector of capacities for each candidate

dcandidate

data.table with candidate information, typically from candidatesFung()

targetPermutations

data.table with permutations of targets

dplatforms

data.table with platform information

grid

Size of the capacity grid

price

Price per vaccine / year

par

Parameters object with model parameters

lambda

Lagrange multiplier. Should be one, unless trying to solve problem with constrained budget.

Value

Expected benefits for the country


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