Project Status: Active – The project has reached a stable, usable state and is being actively developed. License

R-CMD-check Codecov test coverage

The goal of dcm2 is to provide a generic function for calculating the M2 statistic described by Liu et al. (2016). The package provides native support for models estimated with GDINA, but package authors can create methods for different classes of models.


You can install the release version of {dcm2} from CRAN:


To install the development version from GitHub use:

# install.packages("remotes")