calculateFlowContributiontoImpact | R Documentation |
Calculate the percent contribution of flows to direct+indirect impacts by an indicator, using model M matrix for total impacts of flows and C matrix for indicator.
calculateFlowContributiontoImpact(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 M matrix, e.g. "221100/US". |
indicator |
str, index of a model indicator for use in the C 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 "M", "C", "impact".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.