View source: R/StateiorFunctions.R
prepare2RDemand | R Documentation |
Prepares a production demand vector representing production for two region models Demand for SoI = SoI2SoI + RoUS2SoI Demand for RoUS = SoI2RoUS + RoUS2RoUS
prepare2RDemand(model, location, domestic, demand_type = "Production")
model |
An EEIO model object with model specs and IO tables loaded |
location |
str of location code for demand vector |
domestic |
A logical parameter indicating whether to generate domestic demand vector. |
demand_type |
A str indicating whether demand is Production or Consumption |
A named vector with demand
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.