Skip to content

Missing Data Imputation Using Gaussian Copulas

0packages depend
2.9Kdownloads / year
96.2%test coverage
0/13flavors OK

Overview

About

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.

Changes in 0.1.7
  • Fixed a C warning.

From NEWS in the release

Install

Health

CRAN checks
13NOTE
Check messages
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>.

CRAN check page ↗

Slowest check: 5.4 min · r-devel-windows-x86_64
Status changes
  • NOTE13 NOTENow
  • NOTE14 NOTE2026-04-22
  • ERROR13 NOTE, 1 ERROR2026-04-18
  • NOTE14 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.1.7
README· In the repository, left out of the releaseVignettesNoNEWSYes · 67% structured · mentions 0.1.7Citation fileNoWebsitenot declared in DESCRIPTION
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

2.9K
CRAN downloads in the past year
Rank #13,319 · ~8/day · ~244/mo
Daily download trend is not available in this view yet.
31330 days
86490 days
2.9K1 year
Compare downloads with other packages →
Also on360 r2u6 autocran106 c2d4u

Repository

10Stars
2Forks
0Open issues
0Open PRs
8Releases
80Commits
2Commit identities
imputationgaussian-copulaordinalbinarymultinomial-variablessemi-parametric
80 commits · Last activity 2023-05-04
Responsiveness
How these are sampled
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

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

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (1)
README.Rmd
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing mdgc adds 29 packages (15 with compiled code, 25 MB of source tarballs). Heaviest: BH 14 MB, Rcpp 1.8 MB, RcppEigen 1.7 MB.

Depends (1)
R >= 3.5.0
Imports (1)
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (6)
Maintainer since 0.1.1 (2021), Author
Copyright holder
Copyright holder
Copyright holder
Copyright holder
Copyright holder
Releases (7)

Pick two releases to compare their code metrics.

  • 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
    record
    2023-05-05 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.6
    record
    2022-09-10 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.5
    record
    2021-06-14 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.4
    record
    2021-03-12 · diff ↗
  • 0.1.3
    record
    2021-03-04 · diff ↗
  • 0.1.2
    record
    2021-02-26 · diff ↗
  • 0.1.1
    record
    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
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 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.

APA

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

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.

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