calc_E_EIOU | R Documentation |
This function calculates the EIOU per industry output given a .iomats
data frame input-output matrices for an
energy conversion chain. The returned E_EIOU
matrix contains the by-product EIOU used by unit of each industry output,
while the e_EIOU
vector contains the total EIOU by unit of industry output.
calc_E_EIOU(
.iomats = NULL,
g = "g",
U_EIOU = "U_EIOU",
E_EIOU = "E_EIOU",
e_EIOU = "e_EIOU"
)
.iomats |
a data frame containing matrices that describe the Input-Output structure of an Energy Conversion Chain.
|
g |
name of the |
U_EIOU |
name of the |
E_EIOU |
name for the |
e_EIOU |
name for the |
The output E_EIOU
matrix is calculated as U_EIOU %*% g_hat_inv
.
The output e_EIOU
vector is sum of E_EIOU
columns: transpose(i) %*% E_EIOU
.
List or data frame containing the E_EIOU
matrix and e_EIOU
vector.
library(IEATools)
UKEnergy2000mats %>%
dplyr::filter(LastStage == "Final", EnergyType == "E") %>%
tidyr::pivot_wider(names_from = "matrix.name", values_from = "matrix") %>%
calc_io_mats() %>%
calc_E_EIOU()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.