https://cran.r-project.org/web/packages/ddecompose/index.html
CRAN: Package ddecompose
Implements the Oaxaca-Blinder decomposition method and generalizations of it that decompose differences in distributional statistics beyond the mean. The...
cranpackage