Add allocation matrices to a data frame
calc_C_mats.RdThis function adds allocation matrices (C_Y and C_EIOU) to the previously-created
CompletedAllocationTables target.
Usage
calc_C_mats(
completed_allocation_tables,
countries,
country = IEATools::iea_cols$country,
year = IEATools::iea_cols$year,
c_source = IEATools::template_cols$c_source,
.values = IEATools::template_cols$.values,
C_Y = IEATools::template_cols$C_Y,
C_EIOU = IEATools::template_cols$C_eiou
)Arguments
- completed_allocation_tables
The completed allocation tables from which allocation (
C) matrices should be created. This data frame is most likely to be theCompletedAllocationTablestarget.- countries
The countries for which
Cmatrices should be formed- country, year
See
IEATools::ieacols.- c_source, .values, C_Y, C_EIOU