The dmai package provides functionalities to calculate Divisia monetary aggregates index as given in Barnett, W. A. (1980).
Use remotes to install the development version from Github:
if(!require("remotes")) install.packages("remotes")
remotes::install_git("myaseen208/dmai")
This package is free and open source software, licensed under GPL.