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