Package: dcm2 Type: Package Title: Calculating the M2 Model Fit Statistic for Diagnostic Classification Models Version: 1.0.2.9000 Authors@R: c(person(given = "Jeffrey", family = "Hoover", role = c("aut", "cre"), email = "jeffrey.c.hoover@gmail.com", comment = c(ORCID = "0000-0002-0276-0308")), person(given = "W. Jake", family = "Thompson", role = c("aut"), email = "wjakethompson@gmail.com", comment = c(ORCID = "0000-0001-7339-0300")), person(given = "Wenchao", family = "Ma", role = c("ctb"), email = "wenchao.ma@ua.edu", comment = c("Author of Mord.cpp")), person("University of Kansas", role = "cph")) Description: A collection of functions for calculating the M2 model fit statistic for diagnostic classification models as described by Liu et al. (2016) . These functions provide multiple sources of information for model fit according to the M2 statistic, including the M2 statistic, the *p* value for that M2 statistic, and the Root Mean Square Error of Approximation based on the M2 statistic. License: GPL-3 URL: https://github.com/atlas-aai/dcm2 BugReports: https://github.com/atlas-aai/dcm2/issues Depends: R (>= 3.6) Imports: dplyr (>= 0.8.4), glue (>= 1.4.2), magrittr (>= 1.5), methods (>= 4.1.0), modelr (>= 0.1.8), purrr (>= 0.3.3), Rcpp, rlang (>= 0.4.11), stringr (>= 1.4.0), tibble (>= 2.1.3), tidyr (>= 1.1.4) Suggests: covr, GDINA, knitr, rmarkdown, roxygen2, spelling, testthat (>= 2.1.0) LinkingTo: Rcpp, RcppArmadillo (>= 0.9.800.1.0) Config/testthat/edition: 3 Encoding: UTF-8 LazyData: true Roxygen: list(markdown = TRUE) RoxygenNote: 7.2.3 Language: en-US NeedsCompilation: yes VignetteBuilder: knitr Config/pak/sysreqs: libicu-dev Repository: https://atlas-aai.r-universe.dev Date/Publication: 2024-04-29 15:26:31 UTC RemoteUrl: https://github.com/atlas-aai/dcm2 RemoteRef: HEAD RemoteSha: b156764ddda3995b1945c671a67f6645268e39eb Packaged: 2026-09-22 08:20:03 UTC; root Author: Jeffrey Hoover [aut, cre] (ORCID: ), W. Jake Thompson [aut] (ORCID: ), Wenchao Ma [ctb] (Author of Mord.cpp), University of Kansas [cph] Maintainer: Jeffrey Hoover