Skip to content

mdgc

0.1.7

Missing Data Imputation Using Gaussian Copulas

0packages depend
2.8Kdownloads / year
96.2%test coverage
0/13checks pass

Overview

About
Maintained by Benjamin ChristoffersenFirst published 2021-02-177 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13NOTE
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
  • NOTE r-oldrel-macos-arm64
  • NOTE r-oldrel-macos-x86_64
  • NOTE r-oldrel-windows-x86_64
  • NOTE r-patched-linux-x86_64
  • NOTE r-release-linux-x86_64
  • NOTE r-release-macos-arm64
  • NOTE r-release-macos-x86_64
  • NOTE r-release-windows-x86_64
Slowest check: 5.6 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.70
96.2%
Coverage · measured lines
100%
Documentation · exports
1
Dependencies · direct
Check history
  • NOTE2026-04-22
    0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    0 OK · 13 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
57%
Documented parameters
97%
Return-value docs
100%
References docs
50%

Downloads

2.8K
CRAN downloads in the past year
Rank #12,095 · ~8/day · ~230/mo
Daily download trend is not available in this view yet.
26730 days
83890 days
2.8K1 year
Compare downloads with other packages →
Also on391 r2u28 autocran56 c2d4u

Repository

Repository
10Stars
2Forks
0Open issues
0Open PRs
8Releases
80Commits
2Contributors
imputationgaussian-copulaordinalbinarymultinomial-variablessemi-parametric
80 commits · Last activity 2023-05-12

Stars over time

2024-09-26 · 92026-07-07 · 10

Repository practices

Upstream repositoryBeta

5 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/boennecd/mdgc on 2026-08-23.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (1)
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (6)
Maintainer (1)
Maintainer, Author
Authors (1)
Maintainer, Author
Copyright holders (5)
Copyright holder
Copyright holder
Copyright holder
Copyright holder
Copyright holder
Package Timeline

7 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.7Latest
    2023-05-05 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.6
    2022-09-10 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.5
    2021-06-14 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.4
    2021-03-12 · diff ↗
  • 0.1.3
    2021-03-04 · diff ↗
  • 0.1.2
    2021-02-26 · diff ↗
  • 0.1.1
    2021-02-17
  • removedRemoved from CRAN
    2021-02-15
    policy violation Terminates the R process within which it runs Back on CRAN on 2021-02-17
  • R
    R 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
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("mdgc")
Christoffersen, B., R-core, Bretz, F., Genz, A., Hothorn, T., & Ihaka, R. (2023). mdgc: Missing Data Imputation Using Gaussian Copulas (Version 0.1.7) [Computer software]. https://doi.org/10.32614/CRAN.package.mdgc

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for mdgc version 0.1.7 [Data set]. HJJB, LLC. Data release v2026-08-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy