inputs_unit_homogeneous | R Documentation |
Returns TRUE
if each industry's inputs are unit-homogeneous.
inputs_unit_homogeneous(
.sutmats = NULL,
U = "U",
S_units = "S_units",
keep_details = FALSE,
ins_unit_homogeneous = ".inputs_unit_homogeneous"
)
.sutmats |
a data frame of supply-use table matrices with matrices arranged in columns. |
U |
a use ( |
S_units |
an |
keep_details |
if |
ins_unit_homogeneous |
name of the output boolean that
tells whether each industry's inputs are unit-homogeneous.
Default is " |
The U_bar
matrix is queried for the number of non-zero entries in each column.
If the number of non-zero entries in each column is exactly 1,
industry inputs are unit-homogeneous.
Note that U_bar = matrixproduct_byname(transpose_byname(S_units), U)
.
a list or data frame containing
TRUE
if inputs to each energy conversion industry are unit-homogeneous,
FALSE
otherwise.
library(tidyr)
UKEnergy2000mats %>%
spread(key = "matrix.name", value = "matrix") %>%
inputs_unit_homogeneous()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.