prepareDemandVectorForStandardResults: Prepare demand vector for EEIO model results calculations

View source: R/CalculationFunctions.R

prepareDemandVectorForStandardResultsR Documentation

Prepare demand vector for EEIO model results calculations

Description

Prepare demand vector for EEIO model results calculations

Usage

prepareDemandVectorForStandardResults(
  model,
  demand = "Production",
  location = NULL,
  use_domestic_requirements = FALSE
)

Arguments

model

A complete EEIO model: a list with USEEIO model components and attributes.

demand

A demand vector, can be name of a built-in model demand vector, e.g. "Production" or "Consumption", or an actual demand vector with names as one or more model sectors and numeric values in USD with the same dollar year as model.

location

str optional location code for demand vector, required for two-region models

use_domestic_requirements

A logical value: if TRUE, use domestic demand and L_d matrix; if FALSE, use complete demand and L matrix.


USEPA/useeior documentation built on Nov. 5, 2024, 6:12 p.m.