verify_mw_energy_balance | R Documentation |
After constructing the muscle work PSUT matrices,
energy balance should be verified.
Internally, this function uses Recca::verify_SUT_energy_balance()
to ensure that everything is balanced.
verify_mw_energy_balance(
.psut_df,
countries,
country = MWTools::mw_cols$country
)
.psut_df |
A data frame of muscle work PSUT matrices. |
countries |
The countries to be analyzed. |
country |
The name of the country column in |
If .psut_df
has zero rows,
TRUE
is returned, enabling the pipeline to continue,
even if there are some years where there is no muscle work data available.
A data frame with new boolean column ".balanced" that tells whether the matrices are balanced.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.