gvc (version 6.4.0)

dfdfva: 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

Run this code
# NOT RUN {
# 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 )
# }

Run the code above in your browser using DataLab