decompr

"Hello...is it me you're looking for?" (via)

Loading data

We start by loading the package and the included example data set.

library(decompr)
data(leather)
str(leather)

Leontief decomposition

decomp(leather, method = "leontief")

Koopman-Wang-Wei decomposition

decomp(leather, method = "kww")

Wang-Wei-Zhu decomposition

decomp(leather, method = "wwz")


Try the decompr package in your browser

Any scripts or data that you put into this service are public.

decompr documentation built on June 19, 2022, 5:06 p.m.