"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")


bquast/decompr documentation built on Nov. 16, 2023, 3:30 a.m.