dfdfva: Domestic Final Demand Foreign Value Added

dfdfvaR Documentation

Domestic Final Demand Foreign Value Added

Description

Domestic Final Demand Foreign Value Added

Usage

dfdfva(x, aggregate = FALSE)

Arguments

x

A Leontief decomposed Inter-Country Input Output table as created by decompr, which should be post multiplied with final demand (using the parameter: post="final_demand")

aggregate

should dfddva be aggregated along source industries to a national sum?

Examples

# load the decompr package
library(decompr)

# load the example data
data(leather)
attach(leather)

# create a leontief decomposed data set
l <- decomp(x = inter,
            y = final,
            k = countries,
            i = industries,
            o = out,
            method = "leontief",
            post = "final_demand")

 # apply dfdfva
 dfdfva( l )

gvc documentation built on June 20, 2022, 1:05 a.m.