Missing Data Imputation Using Gaussian Copulas
Overview
Provides functions to impute missing values using Gaussian copulas for mixed data types as described by Christoffersen et al. (2021) arXiv:2102.02642. The method is related to Hoff (2007) doi:10.1214/07-AOAS107 and Zhao and Udell (2019) arXiv:1910.12845 but differs by making a direct approximation of the log marginal likelihood using an extended version of the Fortran code created by Genz and Bretz (2002) doi:10.1198/106186002394 in addition to also support multinomial variables.
- Fixed a C warning.
From NEWS in the release
Install
Health
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) get_mdgc.Rd:34: Lost braces in \itemize; meant \describe ? checkRd: (-1) get_mdgc.Rd:35: Lost braces in \itemize; meant \describe ? checkRd: (-1) get_mdgc.Rd:36: Lost braces in \itemize; meant \describe ? checkRd: (-1) get_mdgc.Rd:37: Lost braces in \itemize; meant \describe ?
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: mdgc/tests/testthat/test-get-log-lm-terms.R (.Dim: 4) mdgc/tests/testthat/test-man-files.R (.Dim: 3) mdgc/tests/testthat/test-multinomial.R (.Dim: 1) '.Dim' should be changed to 'dim'.
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Benjamin Christoffersen <boennecd@gmail.com>’ The Description field contains <arXiv:2102.02642>. The method is related to Hoff (2007) <doi:10.1214/07-AOAS107> and Zhao and Udell (2019) <arXiv:1910.12845> Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
- NOTE13 NOTENow
- NOTE14 NOTE2026-04-22
- ERROR13 NOTE, 1 ERROR2026-04-18
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 8includes a package overview page
- Examples that run
- 57%4 run in a plain check · 3 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 97%
- Return-value docs
- 100%
- Help pages citing references
- 50%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
6 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/boennecd/mdgc on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.1.7Latest
- RR 4.3.0 released · 2023-04-21
- 0.1.62022-09-10 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.1.52021-06-14 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.1.42021-03-12 · diff ↗
- 0.1.32021-03-04 · diff ↗
- 0.1.22021-02-26 · diff ↗
- 0.1.12021-02-17
- removedRemoved from CRAN2021-02-15policy violation Terminates the R process within which it runs Back on CRAN on 2021-02-17
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-02-17
- Total releases
- 7 / 5 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 353 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("mdgc")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.