make_mw_psut | R Documentation |
This function filters to countries
and creates PSUT matrices
from primary-final-useful muscle work data frames.
make_mw_psut(
.hmw_df,
.amw_df,
countries,
years,
matrix_class = c("matrix", "Matrix"),
output_unit = c("TJ", "ktoe"),
country = MWTools::mw_cols$country,
year = MWTools::mw_cols$year
)
.hmw_df, .amw_df |
Data frames of primary-final-useful muscle work data. |
countries |
The countries to be analyzed. |
years |
The years to be analyzed. |
matrix_class |
The type of matrix to be created. One of "matrix" (the base class) or "Matrix" (for sparse matrices). |
output_unit |
A string of length one that specifies the output unit. One of "TJ" or "ktoe" for terajoules or kilotons of oil equivalent. |
country |
The name of the country column in |
year |
The name of the year column in |
A data frame of PSUT matrices for a muscle work energy conversion chain.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.