inputs_outputs_unit_homogeneous | R Documentation |
Returns TRUE
if each industry's inputs are unit-homogeneous and each industry's outputs are unit homogeneous.
When inputs have different units from outputs, (but all inputs are unit-homogeneous and all outputs are unit-homogeneous),
TRUE
is returned.
inputs_outputs_unit_homogeneous(
.sutmats = NULL,
U = "U",
V = "V",
S_units = "S_units",
keep_details = FALSE,
ins_outs_unit_homogeneous = ".inputs_outputs_unit_homogeneous"
)
.sutmats |
a data frame of supply-use table matrices with matrices arranged in columns. |
U |
a use ( |
V |
a make ( |
S_units |
an |
keep_details |
if |
ins_outs_unit_homogeneous |
the name of the output column
that tells whether each industry's inputs and outputs are unit-homogeneous
(though not necessarily in the same units).
Default is " |
This function uses both inputs_unit_homogeneous and outputs_unit_homogeneous internally.
This function differs from flows_unit_homogeneous, because flows_unit_homogeneous
requires that all flows are unit-homogeneous before returning TRUE
.
This function (inputs_outputs_unit_homogeneous) will return true when all
inputs are unit-homogeneous with different units from outputs (which are also unit-homogeoenous).
a list or data frame containing
TRUE
if inputs from each energy conversion industry are unit-homogeneous
and outputs from each energy conversion industry are unit-homogeneous,
FALSE
otherwise.
inputs_unit_homogeneous, outputs_unit_homogeneous, flows_unit_homogeneous
library(tidyr)
result <- UKEnergy2000mats %>%
spread(key = "matrix.name", value = "matrix") %>%
inputs_outputs_unit_homogeneous()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.