get_xmatrix {exvatools}R 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.


[Package exvatools version 0.8.0 Index]