calculateSectorContributiontoImpact | R Documentation |
Calculate the percent contribution of sectors to direct+indirect impacts by an indicator, using the product of model L matrix (total requirements) and D matrix (direct impacts by indicator).
calculateSectorContributiontoImpact(model, sector, indicator, domestic = FALSE)
model |
A complete EEIO model: a list with USEEIO model components and attributes. |
sector |
str, index of a model sector for use in the L matrix, e.g. "221100/US". |
indicator |
str, index of a model indicator for use in the D matrix, e.g. "Acidification Potential". |
domestic |
boolean, sets model to use domestic flow matrix. Default is FALSE. |
A dataframe sorted by contribution (high-to-low), also showing "L", "D", "impact".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.