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 packagelibrary(decompr)# load example datadata(leather)attach(leather)# create a leontief decomposed data setl <- decomp(x = inter, y = final, k = countries, i = industries, o = out, method ="leontief", post ="final_demand")# apply dfddva dfddva( l )