{
  "_id": "6a12e35eacfb0bcc41d23f69",
  "Package": "gapclosing",
  "Title": "Estimate Gaps Under an Intervention",
  "Version": "1.0.3",
  "Authors@R": "person(given = \"Ian\",\nfamily = \"Lundberg\",\nrole = c(\"aut\", \"cre\"),\nemail = \"ianlundberg@ucla.edu\",\ncomment = c(ORCID = \"https://orcid.org/0000-0002-1909-2270\"))",
  "Description": "Provides functions to estimate the disparities across\ncategories (e.g. Black and white) that persists if a treatment\nvariable (e.g. college) is equalized. Makes estimates by\ntreatment modeling, outcome modeling, and doubly-robust\naugmented inverse probability weighting estimation, with\nstandard errors calculated by a nonparametric bootstrap.\nCross-fitting is supported. Survey weights are supported for\npoint estimation but not for standard error estimation; those\napplying this package with complex survey samples should\nconsult the data distributor to select an appropriate approach\nfor standard error construction, which may involve calling the\nfunctions repeatedly for many sets of replicate weights\nprovided by the data distributor. The methods in this package\nare described in the accompanying paper:\n<doi:10.1177/00491241211055769>.",
  "License": "MIT + file LICENSE",
  "URL": "https://ilundberg.github.io/gapclosing/",
  "BugReports": "https://github.com/ilundberg/gapclosing/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-24 11:35:33 UTC",
    "User": "root"
  },
  "Author": "Ian Lundberg [aut, cre]\n(<https://orcid.org/0000-0002-1909-2270>)",
  "Maintainer": "Ian Lundberg <ianlundberg@ucla.edu>",
  "Config/testthat/edition": "3",
  "Language": "en-US",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://ilundberg.r-universe.dev",
  "Date/Publication": "2026-05-22 23:35:14 UTC",
  "RemoteUrl": "https://github.com/ilundberg/gapclosing",
  "RemoteRef": "HEAD",
  "RemoteSha": "db0d20dc26e4fd229c496dcd9aaf4363bc67332e",
  "MD5sum": "74e7eb918b69a2ec8730ce6d82f4bef1",
  "_user": "ilundberg",
  "_type": "src",
  "_file": "gapclosing_1.0.3.tar.gz",
  "_fileid": "77789494495b11c97854cecbc45894c6c7f2db6b7c51db474a905ef5feb710b3",
  "_filesize": 1096689,
  "_sha256": "77789494495b11c97854cecbc45894c6c7f2db6b7c51db474a905ef5feb710b3",
  "_created": "2026-05-24T11:35:33.000Z",
  "_published": "2026-05-24T11:39:10.024Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77593998030,
      "time": 160,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7184808692"
    },
    {
      "job": 77593998045,
      "time": 187,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7184811294"
    },
    {
      "job": 77593998048,
      "time": 155,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7184804967"
    },
    {
      "job": 77593998037,
      "time": 161,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7184806051"
    },
    {
      "job": 77593653404,
      "time": 347,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7184791459"
    },
    {
      "job": 77593998027,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7184803906"
    },
    {
      "job": 77593998053,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7184802923"
    },
    {
      "job": 77593998052,
      "time": 135,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7184806243"
    },
    {
      "job": 77593998055,
      "time": 88,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7184801330"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ilundberg/actions/runs/26360012357",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ilundberg/gapclosing",
  "_commit": {
    "id": "db0d20dc26e4fd229c496dcd9aaf4363bc67332e",
    "author": "Ian Lundberg <ilundberg@cornell.edu>",
    "committer": "Ian Lundberg <ilundberg@cornell.edu>",
    "message": "Add braces to doi\n",
    "time": 1779492914
  },
  "_maintainer": {
    "name": "Ian Lundberg",
    "email": "ianlundberg@ucla.edu",
    "login": "ilundberg",
    "twitter": "@IanLundberg1",
    "description": "Assistant Professor, Information Science, Cornell",
    "uuid": 23746019,
    "orcid": "0000-0002-1909-2270"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "mgcv",
      "role": "Imports"
    },
    {
      "package": "ranger",
      "role": "Imports"
    },
    {
      "package": "glmnet",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "doRNG",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    }
  ],
  "_owner": "ilundberg",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-21",
      "n": 12
    }
  ],
  "_tags": [],
  "_stars": 8,
  "_contributors": [
    {
      "user": "ilundberg",
      "count": 1,
      "uuid": 23746019
    }
  ],
  "_userbio": {
    "uuid": 23746019,
    "type": "user",
    "name": "Ian Lundberg",
    "description": "Assistant Professor, Information Science, Cornell"
  },
  "_downloads": {
    "count": 60,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gapclosing"
  },
  "_devurl": "https://github.com/ilundberg/gapclosing",
  "_searchresults": 12,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gapclosing.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ilundberg/gapclosing",
  "_realowner": "ilundberg",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2021-09-06"
    },
    {
      "version": "1.0.2",
      "date": "2021-10-11"
    },
    {
      "version": "1.0.3",
      "date": "2026-05-23"
    }
  ],
  "_exports": [
    "%>%",
    "cross_fit_estimator",
    "df_to_gapclosing_list",
    "disparityplot",
    "fit_ridge",
    "gapclosing",
    "generate_simulated_data",
    "pairwise_diff",
    "point_estimator"
  ],
  "_help": [
    {
      "page": "as.data.frame.gapclosing",
      "title": "Coerce to a Data Frame",
      "topics": [
        "as.data.frame.gapclosing"
      ]
    },
    {
      "page": "cross_fit_estimator",
      "title": "Cross-fitting gap closing estimator",
      "topics": [
        "cross_fit_estimator"
      ]
    },
    {
      "page": "df_to_gapclosing_list",
      "title": "Convert Back to Canonical List Output",
      "topics": [
        "df_to_gapclosing_list"
      ]
    },
    {
      "page": "disparityplot",
      "title": "Plot a disparity",
      "topics": [
        "disparityplot"
      ]
    },
    {
      "page": "fit_ridge",
      "title": "Ridge regression estimator",
      "topics": [
        "fit_ridge"
      ]
    },
    {
      "page": "gapclosing",
      "title": "Gap closing estimator",
      "topics": [
        "gapclosing"
      ]
    },
    {
      "page": "generate_simulated_data",
      "title": "Generate simulated data",
      "topics": [
        "generate_simulated_data"
      ]
    },
    {
      "page": "pairwise_diff",
      "title": "Pairwise difference calculator",
      "topics": [
        "pairwise_diff"
      ]
    },
    {
      "page": "plot.gapclosing",
      "title": "Plot function for gapclosing objects",
      "topics": [
        "plot.gapclosing"
      ]
    },
    {
      "page": "point_estimator",
      "title": "Point estimator for gap-closing estimands",
      "topics": [
        "point_estimator"
      ]
    },
    {
      "page": "print.gapclosing",
      "title": "Print function for gapclosing objects",
      "topics": [
        "print.gapclosing"
      ]
    },
    {
      "page": "summary.gapclosing",
      "title": "Summary function for gapclosing objects",
      "topics": [
        "summary.gapclosing"
      ]
    }
  ],
  "_readme": "https://github.com/ilundberg/gapclosing/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "cpp11",
    "digest",
    "doParallel",
    "doRNG",
    "dplyr",
    "farver",
    "forcats",
    "foreach",
    "generics",
    "ggplot2",
    "glmnet",
    "glue",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "mgcv",
    "nlme",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "ranger",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "rngtools",
    "S7",
    "scales",
    "shape",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "gapclosing.Rmd",
      "filename": "gapclosing.html",
      "title": "gapclosing: An R package to estimate gap closing estimands",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Data structure",
        "2. Quick overview: Functionality",
        "3. Detailed procedures: Customize your call",
        "Step 1. Define the intervention",
        "Step 2. Make causal assumptions for identification",
        "Step 3. Specify a treatment model and/or an outcome model",
        "Choose an estimation algorithm",
        "Why doubly robust? A side note",
        "Why sample splitting? Another side note",
        "Produce standard errors",
        "4. Estimate by machine learning: Two examples",
        "Estimation with Generalized Additive Models (GAMs) via mgcv",
        "Estimation with random forests via ranger",
        "Estimates from these three algorithms are roughly the same",
        "A warning about complex estimators",
        "5. Estimate with stochastic assignment rules",
        "6. Conclusion",
        "References"
      ],
      "created": "2021-02-17 03:15:17",
      "modified": "2023-03-08 14:44:58",
      "commits": 9
    }
  ],
  "_score": 4.681241237375588,
  "_indexed": true,
  "_nocasepkg": "gapclosing",
  "_universes": [
    "ilundberg"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-24T11:38:02.000Z",
      "distro": "noble",
      "commit": "db0d20dc26e4fd229c496dcd9aaf4363bc67332e",
      "fileid": "460fd8815f69912e3fbdd4483d4ac94acf88f1b778d0d55ef260df2a2aad45d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ilundberg/actions/runs/26360012357"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-24T11:38:26.000Z",
      "distro": "noble",
      "commit": "db0d20dc26e4fd229c496dcd9aaf4363bc67332e",
      "fileid": "59bc213021a08210b1f92a92058e213fa31b19834989007e5a3faabb17987494",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ilundberg/actions/runs/26360012357"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-24T11:37:34.000Z",
      "commit": "db0d20dc26e4fd229c496dcd9aaf4363bc67332e",
      "fileid": "46998aa76f5b1be3cdf8ffef07206f4cac3a9ba854c6589c47ce5f4456b12531",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ilundberg/actions/runs/26360012357"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-24T11:37:42.000Z",
      "commit": "db0d20dc26e4fd229c496dcd9aaf4363bc67332e",
      "fileid": "b0f685af99c116e5b0e72109b6548873b20cc1c071b76f64d64757286dad267b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ilundberg/actions/runs/26360012357"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-05-24T11:37:40.000Z",
      "commit": "db0d20dc26e4fd229c496dcd9aaf4363bc67332e",
      "fileid": "488ffe613cad44b4332f298c4c165b9d09f5b797c852df7231bda709a1947bca",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ilundberg/actions/runs/26360012357"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-24T11:36:58.000Z",
      "commit": "db0d20dc26e4fd229c496dcd9aaf4363bc67332e",
      "fileid": "a74e309a93e19607867ed9632b241ea3b5dfdade5de795896b423b1096d9bf32",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ilundberg/actions/runs/26360012357"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-24T11:37:34.000Z",
      "commit": "db0d20dc26e4fd229c496dcd9aaf4363bc67332e",
      "fileid": "64dc69df4d7dfb1eef297fc93e8e6256155a76a40f22e160d1b57e111ee48602",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ilundberg/actions/runs/26360012357"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-24T11:36:45.000Z",
      "commit": "db0d20dc26e4fd229c496dcd9aaf4363bc67332e",
      "fileid": "48679045364d2dfe8455277877fb8df647a7cd1f5235c63a53b296204a87c9d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ilundberg/actions/runs/26360012357"
    }
  ]
}