sinanpl / OaxacaBlinder

R implementation of Oaxaca-Blinder gap decomposition
MIT License
1 stars 1 forks source link

updated readme > threefold docs #8

Open sinanpl opened 6 months ago

sinanpl commented 6 months ago

Readme for threefold uses twofold argument. Fix and rerun doc

https://github.com/sinanpl/OaxacaBlinder/blob/de7e7ac03666fe15f80ecbabadf41a55002a2629/README.Rmd#L86

        ### Threefold decomposition

        ```{r}
        threefold = OaxacaBlinderDecomp(
          real_wage ~ age + education | female, chicago_long,
          type = "twofold",
          pooled = "jann",
          baseline_invariant = TRUE
        )
        summary(threefold)
        coef(threefold)