{
  "_id": "6a1f1d47b401979e7341fb35",
  "Package": "smdi",
  "Type": "Package",
  "Title": "Perform Structural Missing Data Investigations",
  "Version": "0.3.2",
  "Authors@R": "person(\"Janick\", \"Weberpals\", email = \"janick.developer@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"), comment = c(ORCID = \"0000-0003-0404-7394\"))",
  "Description": "An easy to use implementation of routine structural\nmissing data diagnostics with functions to visualize the\nproportions of missing observations, investigate missing data\npatterns and conduct various empirical missing data diagnostic\ntests. Reference: Weberpals J, Raman SR, Shaw PA, Lee H,\nHammill BG, Toh S, Connolly JG, Dandreo KJ, Tian F, Liu W, Li\nJ, Hernández-Muñoz JJ, Glynn RJ, Desai RJ. smdi: an R package\nto perform structural missing data investigations on partially\nobserved confounders in real-world evidence studies. JAMIA\nOpen. 2024 Jan 31;7(1):ooae008.\n<doi:10.1093/jamiaopen/ooae008>.",
  "License": "GPL (>= 3)",
  "URL": "https://janickweberpals.gitlab-pages.partners.org/smdi/",
  "BugReports": "https://gitlab-scm.partners.org/janickweberpals/smdi/-/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-16 08:22:40 UTC",
    "User": "root"
  },
  "Author": "Janick Weberpals [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-0404-7394>)",
  "Maintainer": "Janick Weberpals <janick.developer@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-02-15 18:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/smdi",
  "RemoteRef": "HEAD",
  "RemoteSha": "0e5be32c4dce24b5a8e3a7c71b48ee6516c38e0c",
  "MD5sum": "0d76c8d8665818ab8bdba7ab2ad7451a",
  "_user": "cran",
  "_type": "src",
  "_file": "smdi_0.3.2.tar.gz",
  "_fileid": "28116dbf6cd76178cda17725a3fcf319983c8fa03186f6f79cc021e56b9f6d93",
  "_filesize": 4057199,
  "_sha256": "28116dbf6cd76178cda17725a3fcf319983c8fa03186f6f79cc021e56b9f6d93",
  "_created": "2026-05-16T08:22:40.000Z",
  "_published": "2026-06-02T18:13:27.779Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79140265996,
      "time": 242,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031942035"
    },
    {
      "job": 79140266573,
      "time": 236,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031941485"
    },
    {
      "job": 79140265619,
      "time": 412,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031919468"
    },
    {
      "job": 79140265278,
      "time": 185,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366122495"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25957088452",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/smdi",
  "_commit": {
    "id": "0e5be32c4dce24b5a8e3a7c71b48ee6516c38e0c",
    "author": "Janick Weberpals <janick.developer@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.2\n",
    "time": 1771180202
  },
  "_maintainer": {
    "name": "Janick Weberpals",
    "email": "janick.developer@gmail.com",
    "orcid": "0000-0003-0404-7394"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "caret",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "fastDummies",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "gt",
      "role": "Imports"
    },
    {
      "package": "Hotelling",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "mice",
      "role": "Imports"
    },
    {
      "package": "naniar",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "pROC",
      "role": "Imports"
    },
    {
      "package": "randomForest",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "tableone",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "broom.helpers",
      "role": "Suggests"
    },
    {
      "package": "cardx",
      "role": "Suggests"
    },
    {
      "package": "gridExtra",
      "role": "Suggests"
    },
    {
      "package": "gtsummary",
      "role": "Suggests"
    },
    {
      "package": "here",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "reactR",
      "role": "Suggests"
    },
    {
      "package": "reactable",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "simsurv",
      "role": "Suggests"
    },
    {
      "package": "smd",
      "role": "Suggests"
    },
    {
      "package": "survminer",
      "role": "Suggests"
    },
    {
      "package": "usethis",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-07",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.3.2",
      "date": "2026-02-15"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 203,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/smdi"
  },
  "_pkgdown": "https://janickweberpals.gitlab-pages.partners.org/smdi/",
  "_searchresults": 39,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/smdi.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.2",
      "date": "2023-07-17"
    },
    {
      "version": "0.3.0",
      "date": "2024-07-25"
    },
    {
      "version": "0.3.1",
      "date": "2024-10-04"
    },
    {
      "version": "0.3.2",
      "date": "2026-02-16"
    }
  ],
  "_exports": [
    "gg_miss_upset",
    "md.pattern",
    "smdi_asmd",
    "smdi_check_covar",
    "smdi_diagnose",
    "smdi_hotelling",
    "smdi_little",
    "smdi_na_indicator",
    "smdi_outcome",
    "smdi_rf",
    "smdi_style_gt",
    "smdi_summarize",
    "smdi_vis"
  ],
  "_datasets": [
    {
      "name": "smdi_data",
      "title": "smdi exemplary lung cancer dataset",
      "object": "smdi_data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "exposure",
        "age_num",
        "female_cat",
        "smoking_cat",
        "physical_cat",
        "alk_cat",
        "histology_cat",
        "ses_cat",
        "copd_cat",
        "eventtime",
        "status",
        "ecog_cat",
        "egfr_cat",
        "pdl1_num"
      ],
      "rows": 2500,
      "table": true,
      "tojson": true
    },
    {
      "name": "smdi_data_complete",
      "title": "smdi exemplary lung cancer dataset (with complete data)",
      "object": "smdi_data_complete",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "exposure",
        "age_num",
        "female_cat",
        "ecog_cat",
        "smoking_cat",
        "physical_cat",
        "egfr_cat",
        "alk_cat",
        "pdl1_num",
        "histology_cat",
        "ses_cat",
        "copd_cat",
        "eventtime",
        "status"
      ],
      "rows": 2500,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "smdi_asmd",
      "title": "Computes mean/median absolute standardized mean differences between observed and missing observations",
      "topics": [
        "smdi_asmd"
      ]
    },
    {
      "page": "smdi_check_covar",
      "title": "This is a utility function to help check input data and covariates provided",
      "topics": [
        "smdi_check_covar"
      ]
    },
    {
      "page": "smdi_data",
      "title": "smdi exemplary lung cancer dataset",
      "topics": [
        "smdi_data"
      ]
    },
    {
      "page": "smdi_data_complete",
      "title": "smdi exemplary lung cancer dataset (with complete data)",
      "topics": [
        "smdi_data_complete"
      ]
    },
    {
      "page": "smdi_diagnose",
      "title": "Computes three group missing data summary diagnostics",
      "topics": [
        "smdi_diagnose"
      ]
    },
    {
      "page": "smdi_hotelling",
      "title": "Computes hotelling's multivariate t-test",
      "topics": [
        "smdi_hotelling"
      ]
    },
    {
      "page": "smdi_little",
      "title": "Computes Little's test",
      "topics": [
        "smdi_little"
      ]
    },
    {
      "page": "smdi_na_indicator",
      "title": "Create binary missing indicator variables by two different strategies",
      "topics": [
        "smdi_na_indicator"
      ]
    },
    {
      "page": "smdi_outcome",
      "title": "Computes association between missingness and outcome",
      "topics": [
        "smdi_outcome"
      ]
    },
    {
      "page": "smdi_rf",
      "title": "Computes random forest-based AUC",
      "topics": [
        "smdi_rf"
      ]
    },
    {
      "page": "smdi_style_gt",
      "title": "Takes an object of class smdi and styles it to a publication-ready gt table",
      "topics": [
        "smdi_style_gt"
      ]
    },
    {
      "page": "smdi_summarize",
      "title": "Utility helper to give a light summary of partially observed covariates",
      "topics": [
        "smdi_summarize"
      ]
    },
    {
      "page": "smdi_vis",
      "title": "Quick ggplot2 barchart visualization of partially observed/missing variables",
      "topics": [
        "smdi_vis"
      ]
    }
  ],
  "_rundeps": [
    "backports",
    "base64enc",
    "bigD",
    "bit",
    "bit64",
    "bitops",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "caret",
    "class",
    "cli",
    "clipr",
    "clock",
    "codetools",
    "commonmark",
    "corpcor",
    "cpp11",
    "crayon",
    "curl",
    "data.table",
    "DBI",
    "diagram",
    "digest",
    "dplyr",
    "e1071",
    "evaluate",
    "farver",
    "fastDummies",
    "fastmap",
    "fontawesome",
    "forcats",
    "foreach",
    "fs",
    "future",
    "future.apply",
    "gdata",
    "generics",
    "ggplot2",
    "glmnet",
    "globals",
    "glue",
    "gmodels",
    "gower",
    "gridExtra",
    "gt",
    "gtable",
    "gtools",
    "hardhat",
    "haven",
    "highr",
    "hms",
    "Hotelling",
    "htmltools",
    "htmlwidgets",
    "ipred",
    "isoband",
    "iterators",
    "jomo",
    "jquerylib",
    "jsonlite",
    "juicyjuice",
    "KernSmooth",
    "knitr",
    "labeling",
    "labelled",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "litedown",
    "lme4",
    "lubridate",
    "magrittr",
    "markdown",
    "MASS",
    "Matrix",
    "memoise",
    "mice",
    "mime",
    "minqa",
    "mitml",
    "mitools",
    "ModelMetrics",
    "naniar",
    "nlme",
    "nloptr",
    "nnet",
    "norm",
    "numDeriv",
    "ordinal",
    "pan",
    "parallelly",
    "pillar",
    "pkgconfig",
    "plyr",
    "prettyunits",
    "pROC",
    "prodlim",
    "progress",
    "progressr",
    "proxy",
    "purrr",
    "R6",
    "randomForest",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reactable",
    "reactR",
    "readr",
    "recipes",
    "reformulas",
    "reshape2",
    "rlang",
    "rmarkdown",
    "rpart",
    "S7",
    "sass",
    "scales",
    "shape",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "survey",
    "survival",
    "tableone",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tinytex",
    "tzdb",
    "ucminf",
    "UpSetR",
    "utf8",
    "V8",
    "vctrs",
    "viridis",
    "viridisLite",
    "visdat",
    "vroom",
    "withr",
    "xfun",
    "xml2",
    "yaml",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "a_data_generation.Rmd",
      "filename": "a_data_generation.html",
      "title": "Data generation",
      "author": "Janick Weberpals",
      "engine": "knitr::rmarkdown",
      "headings": [
        "smdi dataset background",
        "Exposure and outcome",
        "Confounders",
        "Missingness",
        "Overview covariates/confounder structure",
        "Simulation of covariates and exposure",
        "Simulate time-to-event",
        "Kaplan-Meier estimates",
        "Cox proportional hazards",
        "Export smdi_data_complete",
        "Introduce missingness",
        "Missing complete at random",
        "Missing at random",
        "Missing not at random - value",
        "Assemble final dataset",
        "Export smdi_data"
      ],
      "created": "2023-07-17 15:31:43",
      "modified": "2024-10-05 03:01:13",
      "commits": 3
    },
    {
      "source": "smdi.Rmd",
      "filename": "smdi.html",
      "title": "Get started with smdi",
      "author": "Janick Weberpals",
      "engine": "knitr::rmarkdown",
      "headings": [
        "smdi_diagnose() - the flagship function"
      ],
      "created": "2023-07-17 15:31:43",
      "modified": "2023-07-17 15:31:43",
      "commits": 1
    },
    {
      "source": "c_multivariate_missingness.Rmd",
      "filename": "c_multivariate_missingness.html",
      "title": "Multivariate missingness and monotonicity",
      "author": "Janick Weberpals",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Multivariate missing data in smdi",
        "Established taxonomies",
        "How does smdi handle multivariate missingness?",
        "Lab 1 analyzed without Lab 2",
        "Lab 2 analyzed without Lab 1",
        "Presented in one table using smdi_style_gt()"
      ],
      "created": "2023-07-17 15:31:43",
      "modified": "2024-07-26 02:46:22",
      "commits": 2
    },
    {
      "source": "d_narfcs_sensitivity_analysis.Rmd",
      "filename": "d_narfcs_sensitivity_analysis.html",
      "title": "NARFCS sensitivity analysis",
      "author": "Janick Weberpals",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Sensitivity analysis for MNAR(value)",
        "Illustrative example",
        "Visual comparison",
        "smdi diagnostics",
        "Comparing treatment effect estimates",
        "NARFCS imputation",
        "Tipping point analysis",
        "Multivariate missingness PD-L1 biomarker example",
        "More on sensitivity analyses",
        "References"
      ],
      "created": "2023-07-17 15:31:43",
      "modified": "2024-07-26 02:46:22",
      "commits": 2
    },
    {
      "source": "b_routine_diagnostics.Rmd",
      "filename": "b_routine_diagnostics.html",
      "title": "Routine structural missing data diagnostics",
      "author": "Janick Weberpals",
      "engine": "knitr::rmarkdown",
      "headings": [
        "smdi main functionalities",
        "Descriptives",
        "Missingness proportions",
        "Missingness patterns",
        "Upset plot",
        "Pattern matrix",
        "Before we are getting started: data format",
        "Group 1 diagnostics: differences in covariate distributions",
        "Median/average absolute standardized mean differences",
        "Hotelling's and Little's hypothesis tests",
        "Hotteling",
        "Little",
        "Group 2 diagnostics: ability to predict missingness",
        "Group 3 diagnostics: association between missingness and outcome",
        "smdi_diagnose() - one function to rule them all",
        "Publication-ready gt-style table",
        "smdi table export",
        "References"
      ],
      "created": "2023-07-17 15:31:43",
      "modified": "2024-07-26 02:46:22",
      "commits": 2
    }
  ],
  "_score": 3.290034611362518,
  "_indexed": true,
  "_nocasepkg": "smdi",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.2",
      "date": "2026-05-16T08:25:43.000Z",
      "distro": "noble",
      "commit": "0e5be32c4dce24b5a8e3a7c71b48ee6516c38e0c",
      "fileid": "603f8a8149f538ae2b69c2f61e12c216d10a699a93470fd8629a2028ccf63dec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25957088452"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.2",
      "date": "2026-05-16T08:25:39.000Z",
      "distro": "noble",
      "commit": "0e5be32c4dce24b5a8e3a7c71b48ee6516c38e0c",
      "fileid": "95a31edc54a3b94e75e45d597339b83b6badf61e55a560567c1e5a66d955e5a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25957088452"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.2",
      "date": "2026-06-02T18:13:10.000Z",
      "commit": "0e5be32c4dce24b5a8e3a7c71b48ee6516c38e0c",
      "fileid": "ca35c7d097c4571aff7d5599cf5656720b4a478404090997db012a8dc6af6008",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25957088452"
    }
  ]
}