get_xmatrix: Get extraction matrix.

View source: R/matrix_extract.R

get_xmatrixR Documentation

Get extraction matrix.

Description

Creates a global extraction matrix Anots of an exporter and its inverse Bnots.

Usage

get_xmatrix(
  wio,
  exporter,
  perim = "country",
  partner = "WLD",
  sector = "TOTAL",
  inverse = TRUE
)

Arguments

wio

A class wio object

exporter

String, code of country or country group

perim

String: "country" for country perspective and "WLD" for world perspective.

partner

String: code of country or country group for bilateral perspectives (only with country).

sector

Character string: code of sector or sector group for sector perspectives (only with country).

inverse

Boolean, if TRUE returns the global inverse extraction matrix Bnots, if FALSE just the global extraction matrix Anots.

Value

The global (inverse) extraction matrix of the specified exporter.


exvatools documentation built on Sept. 17, 2024, 1:07 a.m.