{
  "_id": "6ac0dbe591601a2ad2999acb",
  "Package": "mixgb",
  "Title": "Multiple Imputation Through 'XGBoost'",
  "Version": "2.2.3",
  "Authors@R": "c(\nperson(given = \"Yongshi\", family =\"Deng\", email = \"agnes.yongshideng@gmail.com\",\nrole = c(\"aut\",\"cre\"),comment =c(ORCID = \"0000-0001-5845-859X\")),\nperson(given = \"Thomas\", family = \"Lumley\", email = \"t.lumley@auckland.ac.nz\",\nrole = \"ths\")\n)",
  "Description": "Multiple imputation using 'XGBoost', subsampling, and\npredictive mean matching as described in Deng and Lumley (2024)\n<doi:10.1080/10618600.2023.2252501>.  The package supports\nvarious types of variables, offers flexible settings, and\nenables saving an imputation model to impute new data. Data\nprocessing and memory usage have been optimised to speed up the\nimputation process.",
  "URL": "https://github.com/agnesdeng/mixgb",
  "BugReports": "https://github.com/agnesdeng/mixgb/issues",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "SystemRequirements": "macOS: Accelerate framework",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake make libicu-dev libx11-dev zlib1g-dev",
  "Repository": "https://agnesdeng.r-universe.dev",
  "Date/Publication": "2026-01-17 22:58:56 UTC",
  "RemoteUrl": "https://github.com/agnesdeng/mixgb",
  "RemoteRef": "HEAD",
  "RemoteSha": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-03 10:33:49 UTC",
    "User": "root"
  },
  "Author": "Yongshi Deng [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5845-859X>),\nThomas Lumley [ths]",
  "Maintainer": "Yongshi Deng <agnes.yongshideng@gmail.com>",
  "_user": "agnesdeng",
  "_type": "src",
  "_file": "mixgb_2.2.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/c52bb5354a670864211667cdc7fff50839b371ebc1a21a1ae07a79401c02acac",
  "_filesize": 929843,
  "_sha256": "c52bb5354a670864211667cdc7fff50839b371ebc1a21a1ae07a79401c02acac",
  "_expires": "2027-01-11T10:41:39.000Z",
  "_created": "2026-10-03T10:33:49.000Z",
  "_published": "2026-10-03T10:41:41.679Z",
  "_jobs": [
    {
      "job": 111185266100,
      "time": 153,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11271403144"
    },
    {
      "job": 111185266061,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11272580235"
    },
    {
      "job": 111185266063,
      "time": 154,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11271552640"
    },
    {
      "job": 111185266067,
      "time": 180,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11271986952"
    },
    {
      "job": 111185266002,
      "time": 246,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11271772310"
    },
    {
      "job": 111185266053,
      "time": 343,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11272515531"
    },
    {
      "job": 111185266019,
      "time": 166,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11272006992"
    },
    {
      "job": 111185266081,
      "time": 277,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11271557756"
    },
    {
      "job": 111184616384,
      "time": 254,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11271632299"
    },
    {
      "job": 111185265975,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11271882072"
    },
    {
      "job": 111185266066,
      "time": 404,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11271607707"
    },
    {
      "job": 111185266072,
      "time": 250,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11271777349"
    },
    {
      "job": 111185266108,
      "time": 145,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11271662508"
    },
    {
      "job": 111185266139,
      "time": 371,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11271712630"
    },
    {
      "job": 111185266079,
      "time": 131,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11272046809"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/37116613001",
  "_status": "success",
  "_upstream": "https://github.com/agnesdeng/mixgb",
  "_commit": {
    "id": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
    "author": "YD <25675889+agnesdeng@users.noreply.github.com>",
    "committer": "YD <25675889+agnesdeng@users.noreply.github.com>",
    "message": "CRAN\n",
    "time": 1768690736
  },
  "_maintainer": {
    "name": "Yongshi Deng",
    "email": "agnes.yongshideng@gmail.com",
    "login": "maths-stats",
    "description": "",
    "uuid": 211069590,
    "orcid": "0000-0001-5845-859X"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "mice",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "Rfast",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "xgboost",
      "version": ">= 3.1.2.1",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "agnesdeng",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-46",
      "n": 10
    },
    {
      "week": "2025-47",
      "n": 5
    },
    {
      "week": "2025-49",
      "n": 3
    },
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 7
    },
    {
      "week": "2026-03",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v2.0.0",
      "date": "2025-11-15"
    },
    {
      "name": "v2.0.1",
      "date": "2025-11-19"
    },
    {
      "name": "v2.0.3",
      "date": "2025-12-07"
    },
    {
      "name": "v2.2.3",
      "date": "2026-01-16"
    }
  ],
  "_stars": 27,
  "_contributors": [
    {
      "user": "agnesdeng",
      "count": 134,
      "uuid": 25675889
    }
  ],
  "_userbio": {
    "uuid": 25675889,
    "type": "user",
    "name": "Yongshi (Agnes) Deng",
    "followers": 10,
    "description": "Data Scientist | PhD in Statistics "
  },
  "_downloads": {
    "count": 376,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mixgb"
  },
  "_devurl": "https://github.com/agnesdeng/mixgb",
  "_searchresults": 85,
  "_topics": [
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/mixgb.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/agnesdeng/mixgb",
  "_realowner": "agnesdeng",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-06-07"
    },
    {
      "version": "1.0.2",
      "date": "2023-02-16"
    },
    {
      "version": "1.5.2",
      "date": "2024-12-02"
    },
    {
      "version": "1.5.3",
      "date": "2025-04-06"
    },
    {
      "version": "2.0.3",
      "date": "2025-12-11"
    },
    {
      "version": "2.2.3",
      "date": "2026-01-17"
    }
  ],
  "_exports": [
    "check_data",
    "createNA",
    "default_params",
    "default_params_cran",
    "impute_new",
    "mixgb",
    "mixgb_cv",
    "show_var"
  ],
  "_datasets": [
    {
      "name": "newborn",
      "title": "NHANES III (1988-1994) newborn data",
      "object": "newborn",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "household_size",
        "age_months",
        "sex",
        "race",
        "ethnicity",
        "race_ethinicity",
        "head_circumference_cm",
        "recumbent_length_cm",
        "first_subscapular_skinfold_mm",
        "second_subscapular_skinfold_mm",
        "first_triceps_skinfold_mm",
        "second_triceps_skinfold_mm",
        "weight_kg",
        "poverty_income_ratio",
        "smoke",
        "health"
      ],
      "rows": 2107,
      "table": true,
      "tojson": true
    },
    {
      "name": "nhanes3",
      "title": "A small subset of the NHANES III (1988-1994) newborn data",
      "object": "nhanes3",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "age_months",
        "sex",
        "ethnicity",
        "head_circumference_cm",
        "recumbent_length_cm",
        "weight_kg"
      ],
      "rows": 500,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "check_data",
      "title": "Sanity check for input data before imputation",
      "topics": [
        "check_data"
      ]
    },
    {
      "page": "createNA",
      "title": "Create missing values for a dataset",
      "topics": [
        "createNA"
      ]
    },
    {
      "page": "default_params",
      "title": "Auxiliary function for validating xgb.params",
      "topics": [
        "default_params"
      ]
    },
    {
      "page": "default_params_cran",
      "title": "Auxiliary function for validating xgb.params compatible with XGBoost CRAN version",
      "topics": [
        "default_params_cran"
      ]
    },
    {
      "page": "impute_new",
      "title": "Impute new data with a saved 'mixgb' imputer object",
      "topics": [
        "impute_new"
      ]
    },
    {
      "page": "mixgb",
      "title": "Multiple imputation through XGBoost",
      "topics": [
        "mixgb"
      ]
    },
    {
      "page": "mixgb_cv",
      "title": "Use cross-validation to find the optimal 'nrounds'",
      "topics": [
        "mixgb_cv"
      ]
    },
    {
      "page": "newborn",
      "title": "NHANES III (1988-1994) newborn data",
      "topics": [
        "newborn"
      ]
    },
    {
      "page": "nhanes3",
      "title": "A small subset of the NHANES III (1988-1994) newborn data",
      "topics": [
        "nhanes3"
      ]
    },
    {
      "page": "show_var",
      "title": "Show multiply imputed values for a single variable",
      "topics": [
        "show_var"
      ]
    }
  ],
  "_pkglogo": "https://github.com/agnesdeng/mixgb/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/agnesdeng/mixgb/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "bit",
    "bit64",
    "boot",
    "broom",
    "cli",
    "clipr",
    "codetools",
    "cpp11",
    "crayon",
    "data.table",
    "dplyr",
    "forcats",
    "foreach",
    "generics",
    "glmnet",
    "glue",
    "haven",
    "hms",
    "iterators",
    "jomo",
    "jsonlite",
    "lattice",
    "lifecycle",
    "lme4",
    "magrittr",
    "MASS",
    "Matrix",
    "mice",
    "minqa",
    "mitml",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "ordinal",
    "pan",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "rbibutils",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppParallel",
    "Rdpack",
    "readr",
    "reformulas",
    "Rfast",
    "rlang",
    "rpart",
    "shape",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "ucminf",
    "utf8",
    "vctrs",
    "vroom",
    "withr",
    "xgboost",
    "zigg"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "Imputing-newdata.Rmd",
      "filename": "Imputing-newdata.html",
      "title": "Imputing newdata with a saved mixgb imputer",
      "author": "Yongshi Deng",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Impute new unseen data using a saved imputer object"
      ],
      "created": "2022-05-18 12:42:27",
      "modified": "2026-01-17 10:27:07",
      "commits": 11
    },
    {
      "source": "Using-mixgb.Rmd",
      "filename": "Using-mixgb.html",
      "title": "mixgb: Multiple Imputation Through XGBoost",
      "author": "Yongshi Deng",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Impute missing values with mixgb",
        "Customise imputation settings",
        "Tune hyperparameters",
        "Inspect multiply imputed values"
      ],
      "created": "2022-05-18 12:42:27",
      "modified": "2026-01-17 10:27:07",
      "commits": 18
    }
  ],
  "_score": 7.1389339402569245,
  "_indexed": true,
  "_nocasepkg": "mixgb",
  "_universes": [
    "agnesdeng",
    "maths-stats"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.2.3",
      "date": "2026-10-03T10:36:13.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "https://r2.ropensci.org/0ab6c16ce5116efa3e8abff2ef934160947e83def7c66277d649dce3bffb6885",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/37116613001"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.2.3",
      "date": "2026-10-03T10:36:19.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "https://r2.ropensci.org/1bf5c1398dfc1e0ce24e494c7319b96031ec557cf1833a20fe8eec0a056f4725",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/37116613001"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.2.3",
      "date": "2026-10-03T10:36:15.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "https://r2.ropensci.org/2658e88accb952e6039c392309ad40c85082983533be57ec93455dca70d578f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/37116613001"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.2.3",
      "date": "2026-10-03T10:36:29.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "https://r2.ropensci.org/1c1ba01a48ecdff16f8c10c64e1af6669f6c166ca0ce1c4a177c8fa991842080",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/37116613001"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.2.3",
      "date": "2026-10-03T10:37:03.000Z",
      "arch": "aarch64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "https://r2.ropensci.org/88db6320a9e09f6ff4afe3fe8c095df628c957796ef9fdd0befc2ec300327919",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/37116613001"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.2.3",
      "date": "2026-10-03T10:38:09.000Z",
      "arch": "x86_64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "https://r2.ropensci.org/58bdc6cf8582466cd2f3edb4dad056216cc8d4f69946d73c34dba3f6f16e8d5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/37116613001"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.2.3",
      "date": "2026-10-03T10:36:14.000Z",
      "arch": "aarch64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "https://r2.ropensci.org/45a051f3c1dd83addb29e5794576f909da43540d1d9d88db93970e1e9caed8df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/37116613001"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.2.3",
      "date": "2026-10-03T10:37:17.000Z",
      "arch": "x86_64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "https://r2.ropensci.org/6fe440bef4c85de2e83a579243c89bb0c06c1d2d7cec16aad66ac69fdaed04ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/37116613001"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.2.3",
      "date": "2026-10-03T10:36:41.000Z",
      "arch": "emscripten",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "https://r2.ropensci.org/86e0d7dc2c60ec29c6a3483a609358cab528b16fee5b242c038533df6a52edf2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/37116613001"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.2.3",
      "date": "2026-10-03T10:39:30.000Z",
      "arch": "aarch64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "https://r2.ropensci.org/64c4632092b0e9887621acece01d9ef6e7a0533b0365da1c73128c66674f3e9d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/37116613001"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.2.3",
      "date": "2026-10-03T10:36:09.000Z",
      "arch": "x86_64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "https://r2.ropensci.org/93a5dc0d63a1808765f68f524043714939ff89942a705256a671f40bdc20b44e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/37116613001"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.2.3",
      "date": "2026-10-03T10:35:35.000Z",
      "arch": "x86_64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "https://r2.ropensci.org/98f42490dcfe11d150ea045b0b698768627cb07b881a69e066e328cca0c77693",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/37116613001"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.2.3",
      "date": "2026-10-03T10:38:57.000Z",
      "arch": "aarch64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "https://r2.ropensci.org/66ba666260288f3237a2fc9d9ba623fa9cdda52a6d0f89ae1e895d4ed6b5a5ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/37116613001"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.2.3",
      "date": "2026-10-03T10:35:34.000Z",
      "arch": "x86_64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "https://r2.ropensci.org/a0d23d4239b525bf72f988d32cb770a0b73a948b4e44bcb21f332962f7fb0fdd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/37116613001"
    }
  ]
}