{
  "_id": "6a1f0f52b401979e7341d568",
  "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-05-17 08:36:39 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>",
  "MD5sum": "c2229983d22a64ef59e319c0a13bc058",
  "_user": "agnesdeng",
  "_type": "src",
  "_file": "mixgb_2.2.3.tar.gz",
  "_fileid": "facb106b261e12f9112e730dfc0c36fbe219f8e0d51a940443ea94e04d495c5c",
  "_filesize": 925248,
  "_sha256": "facb106b261e12f9112e730dfc0c36fbe219f8e0d51a940443ea94e04d495c5c",
  "_created": "2026-05-17T08:36:39.000Z",
  "_published": "2026-06-02T17:13:54.407Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79129140034,
      "time": 184,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040892530"
    },
    {
      "job": 79129140298,
      "time": 198,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040894124"
    },
    {
      "job": 79129140533,
      "time": 190,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040893234"
    },
    {
      "job": 79129140209,
      "time": 184,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040892416"
    },
    {
      "job": 79129140864,
      "time": 182,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040890417"
    },
    {
      "job": 79129140549,
      "time": 322,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040903861"
    },
    {
      "job": 79129140112,
      "time": 161,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040887534"
    },
    {
      "job": 79129140523,
      "time": 278,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040900306"
    },
    {
      "job": 79129139709,
      "time": 289,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040873423"
    },
    {
      "job": 79129139426,
      "time": 138,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364781471"
    },
    {
      "job": 79129140014,
      "time": 240,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040898567"
    },
    {
      "job": 79129140162,
      "time": 167,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040890669"
    },
    {
      "job": 79129140540,
      "time": 170,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040891030"
    }
  ],
  "_buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/25985950679",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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": 1,
  "_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": 26,
  "_contributors": [
    {
      "user": "agnesdeng",
      "count": 134,
      "uuid": 25675889
    }
  ],
  "_userbio": {
    "uuid": 25675889,
    "type": "user",
    "name": "Yongshi (Agnes) Deng",
    "description": "Data Scientist | PhD in Statistics "
  },
  "_downloads": {
    "count": 298,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mixgb"
  },
  "_devurl": "https://github.com/agnesdeng/mixgb",
  "_searchresults": 87,
  "_topics": [
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mixgb.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "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.609765105692743,
  "_indexed": true,
  "_nocasepkg": "mixgb",
  "_universes": [
    "agnesdeng",
    "maths-stats"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.2.3",
      "date": "2026-05-17T08:39:19.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "e87e9f7860edf25c40a0c11bd45e5071f5f52e78739eaea1348de6d448554d41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/25985950679"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.2.3",
      "date": "2026-05-17T08:39:29.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "81ab764d3991f25114bb444756fb01442d4d3ba729b08ca8c924dc8d13b7a238",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/25985950679"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.2.3",
      "date": "2026-05-17T08:39:24.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "72b87842b66d494f5d46dd043e9943b110360c7a7198e821e34aca4ef9044c92",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/25985950679"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.2.3",
      "date": "2026-05-17T08:39:26.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "35b2bab01bd962410686676f53ae5f831054662216ab7694ba6b9515f3718010",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/25985950679"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.2.3",
      "date": "2026-05-17T08:39:28.000Z",
      "arch": "aarch64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "0a5aa125e7072aa4651fc42a888a0a50d6a025adacb3175f70ae60e0fd2b4677",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/25985950679"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.2.3",
      "date": "2026-05-17T08:40:37.000Z",
      "arch": "x86_64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "87ee4e5971fbc917bfd405ff02940ee8568db27e7ab318ed7bd0f377f6ce8343",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/25985950679"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.2.3",
      "date": "2026-05-17T08:38:51.000Z",
      "arch": "aarch64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "77e52312bf30b08e1cc1c8272c307dee510b4f4f4a10cd0031b44689750100f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/25985950679"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.2.3",
      "date": "2026-05-17T08:39:49.000Z",
      "arch": "x86_64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "be1d5495916ad1d1f266d98d7cc0108fcf56c4013fe7bb7522e8fbf4afbb62aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/25985950679"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.2.3",
      "date": "2026-05-17T08:38:40.000Z",
      "arch": "x86_64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "886b074bf13fc1017b37ce35f45dc9f26d6065722a834ff62e86d9377e820263",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/25985950679"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.2.3",
      "date": "2026-05-17T08:38:22.000Z",
      "arch": "x86_64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "92c191362a1fb94241cb8825e1386e33e8c0f1473698fc6dd8fb622620606af5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/25985950679"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.2.3",
      "date": "2026-05-17T08:38:23.000Z",
      "arch": "x86_64",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "75e0d2505e7a6b9ffeb3ea7cef00658ffb2bfebae6b171a7931964f2f4743c1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/25985950679"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.2.3",
      "date": "2026-06-02T17:13:15.000Z",
      "arch": "emscripten",
      "commit": "d2d7b58806b0d48fbce7f55382ecd21077d17158",
      "fileid": "a6d66677101135a5c31a69c70cedda5e309c8e1deb4677c06fcb1a3fe830c927",
      "status": "success",
      "buildurl": "https://github.com/r-universe/agnesdeng/actions/runs/25985950679"
    }
  ]
}