Learn R Programming

gvc (version 6.4.0)

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

# load 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 ffddva
 ffddva( l )
# }

Run the code above in your browser using DataLab