View source: R/DemandFunctions.R
sumforConsumption | R Documentation |
Sums the demand cols representing final consumption, i.e. household, investment, and government Complete national consumption formula: y_c <- Y_h + Y_v + Y_g Domestic portion of national consumption: y_dc <- Y_dh + Y_dv + Y_dg
sumforConsumption(model, Y, location)
model |
An EEIO model object with model specs and IO tables loaded |
Y |
a model Demand df. |
location |
str of location code for demand vector |
A named vector with model sectors and demand amounts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.