Description Usage Arguments Value Examples
Create a table that tells the global benefits corresponding to every level of effective capacity
1 | getBenefitsTable(countryData, max = 1000, grid = 1)
|
countryData |
|
max |
Maximum effective capacity to compute benefits for |
grid |
Resolution of the capacity grid |
data.table
keyed by capacity
. The socialBenefits
column gives the benefit from the program
1 2 3 4 5 6 | ## Not run:
countryData <- loadCountryData(system.file('extdata',
'countryData.xlsx',package = 'vaccineEarlyInvest'))
benefitsTable <- getBenefitsTable(countryData)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.