gvc (version 0.5.2)

ffddva: Foreign Final Demand Domestic Value Added

Description

Foreign Final Demand Domestic Value Added

Usage

ffddva(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
# load the decompr package
library(decompr)

# load example data
data(leather)

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

 # apply ffddva
 ffddva( l )

Run the code above in your browser using DataCamp Workspace