{
  "_id": "6ac79017de46216d5edd23d7",
  "Package": "rd2d",
  "Type": "Package",
  "Title": "Estimation and Inference for Boundary Discontinuity Designs",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(given = \"Matias D.\", family = \"Cattaneo\", email = \"matias.d.cattaneo@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(given = \"Rocio\", family = \"Titiunik\", email = \"rocio.titiunik@gmail.com\", role = \"aut\"),\nperson(given = \"Ruiqi Rae\", family = \"Yu\", email = \"raeyuuuu@gmail.com\", role = \"aut\"))",
  "URL": "https://rdpackages.github.io/, https://github.com/rdpackages/rd2d",
  "BugReports": "https://github.com/rdpackages/rd2d/issues",
  "Description": "Provides pointwise and uniform estimation and inference\nmethods for boundary discontinuity (BD) designs, a causal\ninference design that generalizes univariate regression\ndiscontinuity (RD) designs to settings with bivariate scores.\nImplements local polynomial methods for location-based and\ndistance-based analyses, including sharp and fuzzy designs,\ndata-driven bandwidth selection, pointwise confidence\nintervals, and uniform confidence bands. Methodology is\ndeveloped in Cattaneo, Titiunik, and Yu (2026)\n<doi:10.48550/arXiv.2505.05670> for location-based methods and\nCattaneo, Titiunik, and Yu (2026)\n<doi:10.48550/arXiv.2510.26051> for distance-based methods. For\nan overview and empirical guidance, see Cattaneo, Titiunik, and\nYu (2026) <doi:10.48550/arXiv.2511.06474>. The companion\nsoftware article is Cattaneo, Titiunik, and Yu (2025)\n<doi:10.48550/arXiv.2505.07989>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Maintainer": "Matias D. Cattaneo <matias.d.cattaneo@gmail.com>",
  "NeedsCompilation": "no",
  "Author": "Matias D. Cattaneo [aut, cre], Rocio Titiunik [aut], Ruiqi Rae\nYu [aut]",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Packaged": {
    "Date": "2026-10-08 12:40:20 UTC",
    "User": "root"
  },
  "Repository": "https://mdcattaneo.r-universe.dev",
  "Date/Publication": "2026-05-28 12:48:21 UTC",
  "RemoteUrl": "https://github.com/cran/rd2d",
  "RemoteRef": "HEAD",
  "RemoteSha": "fb40a3b778755e4ec37946f420e9e6aab8ed5093",
  "_user": "mdcattaneo",
  "_type": "src",
  "_file": "rd2d_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/731acf85e2aeae56bfc85d8d0036b37a8c37d1bc90b0973fc7f3c59664124899",
  "_filesize": 351534,
  "_sha256": "731acf85e2aeae56bfc85d8d0036b37a8c37d1bc90b0973fc7f3c59664124899",
  "_expires": "2027-01-16T12:44:05.000Z",
  "_created": "2026-10-08T12:40:20.000Z",
  "_published": "2026-10-08T12:44:07.208Z",
  "_buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/37778117227",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113315678258,
      "time": 162,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11550882683"
    },
    {
      "job": 113315678294,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11551232764"
    },
    {
      "job": 113315678283,
      "time": 139,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11550652842"
    },
    {
      "job": 113315678251,
      "time": 127,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11551242708"
    },
    {
      "job": 113314291071,
      "time": 201,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11550642389"
    },
    {
      "job": 113315678156,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11551247500"
    },
    {
      "job": 113315678360,
      "time": 115,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11551052742"
    },
    {
      "job": 113315678381,
      "time": 84,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11550912545"
    },
    {
      "job": 113315678515,
      "time": 107,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11551571545"
    }
  ],
  "_upstream": "https://github.com/cran/rd2d",
  "_commit": {
    "id": "fb40a3b778755e4ec37946f420e9e6aab8ed5093",
    "author": "Matias D. Cattaneo <matias.d.cattaneo@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.0\n",
    "time": 1779972501
  },
  "_maintainer": {
    "name": "Matias D. Cattaneo",
    "email": "matias.d.cattaneo@gmail.com",
    "login": "mdcattaneo",
    "description": "",
    "uuid": 24854721
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "expm",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.0.3",
      "date": "2025-10-24"
    },
    {
      "name": "0.1.0",
      "date": "2026-05-14"
    },
    {
      "name": "0.2.0",
      "date": "2026-05-23"
    },
    {
      "name": "1.0.0",
      "date": "2026-05-28"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "mdcattaneo",
      "count": 3,
      "uuid": 24854721
    }
  ],
  "_userbio": {
    "uuid": 24854721,
    "type": "user",
    "name": "Matias D. Cattaneo",
    "followers": 219
  },
  "_downloads": {
    "count": 411,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rd2d"
  },
  "_devurl": "https://github.com/rdpackages/rd2d",
  "_searchresults": 13,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/rd2d.html"
  ],
  "_realowner": "mdcattaneo",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2025-05-14"
    },
    {
      "version": "0.0.2",
      "date": "2025-06-10"
    },
    {
      "version": "0.0.3",
      "date": "2025-10-24"
    },
    {
      "version": "0.1.0",
      "date": "2026-05-14"
    },
    {
      "version": "0.2.0",
      "date": "2026-05-23"
    },
    {
      "version": "1.0.0",
      "date": "2026-05-28"
    }
  ],
  "_exports": [
    "rd2d",
    "rd2d.distance",
    "rdbw2d",
    "rdbw2d.distance"
  ],
  "_help": [
    {
      "page": "rd2d-package",
      "title": "rd2d: Estimation and Inference for Boundary Discontinuity Designs",
      "topics": [
        "rd2d-package"
      ]
    },
    {
      "page": "coef.rd2d",
      "title": "Extract rd2d Point Estimates",
      "topics": [
        "coef.rd2d",
        "coef.rd2d.distance"
      ]
    },
    {
      "page": "confint.rd2d",
      "title": "Confidence Intervals for rd2d Estimates",
      "topics": [
        "confint.rd2d",
        "confint.rd2d.distance"
      ]
    },
    {
      "page": "plot.rd2d",
      "title": "Plot rd2d Estimates and Bandwidths",
      "topics": [
        "plot.rd2d",
        "plot.rd2d.distance",
        "plot.rdbw2d",
        "plot.rdbw2d.distance"
      ]
    },
    {
      "page": "print.rd2d",
      "title": "Print Method for 2D Local Polynomial RD Estimation",
      "topics": [
        "print.rd2d"
      ]
    },
    {
      "page": "print.rd2d.distance",
      "title": "Print Method for 2D Local Polynomial RD Estimation (Distance-Based)",
      "topics": [
        "print.rd2d.distance"
      ]
    },
    {
      "page": "print.rdbw2d",
      "title": "Print Method for Bandwidth Selection for 2D Local Polynomial RD Design",
      "topics": [
        "print.rdbw2d"
      ]
    },
    {
      "page": "print.rdbw2d.distance",
      "title": "Print Method for Bandwidth Selection (Distance-Based) in 2D Local Polynomial RD Design",
      "topics": [
        "print.rdbw2d.distance"
      ]
    },
    {
      "page": "rd2d",
      "title": "Location-Based Methods for Boundary Discontinuity Design",
      "topics": [
        "rd2d"
      ]
    },
    {
      "page": "rd2d.distance",
      "title": "Distance-Based Methods for Boundary Discontinuity Design",
      "topics": [
        "rd2d.distance"
      ]
    },
    {
      "page": "rdbw2d",
      "title": "Bandwidth Selection for Location-Based Methods for Boundary Discontinuity Design",
      "topics": [
        "rdbw2d"
      ]
    },
    {
      "page": "rdbw2d.distance",
      "title": "Bandwidth Selection for Distance-Based Methods for Boundary Discontinuity Design",
      "topics": [
        "rdbw2d.distance"
      ]
    },
    {
      "page": "summary.rd2d",
      "title": "Summary Method for 2D Local Polynomial RD Estimation",
      "topics": [
        "summary.rd2d"
      ]
    },
    {
      "page": "summary.rd2d.distance",
      "title": "Summary Method for 2D Local Polynomial RD Estimation (Distance-Based)",
      "topics": [
        "summary.rd2d.distance"
      ]
    },
    {
      "page": "summary.rdbw2d",
      "title": "Summary Method for Bandwidth Selection for 2D Local Polynomial RD Design",
      "topics": [
        "summary.rdbw2d"
      ]
    },
    {
      "page": "summary.rdbw2d.distance",
      "title": "Summary Method for Bandwidth Selection in 2D Local Polynomial RD Design (Distance-Based)",
      "topics": [
        "summary.rdbw2d.distance"
      ]
    },
    {
      "page": "vcov.rd2d",
      "title": "Extract rd2d Covariance Matrices",
      "topics": [
        "vcov.rd2d",
        "vcov.rd2d.distance"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "expm",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "MASS",
    "Matrix",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 1.716003343634799,
  "_indexed": true,
  "_nocasepkg": "rd2d",
  "_universes": [
    "mdcattaneo",
    "rdpackages"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-08T12:42:32.000Z",
      "distro": "resolute",
      "commit": "fb40a3b778755e4ec37946f420e9e6aab8ed5093",
      "fileid": "https://r2.ropensci.org/7d1489005636b896cda19b91e399b80819d6169c55c72e9de7aba95823f6f2b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/37778117227"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-08T12:42:48.000Z",
      "distro": "resolute",
      "commit": "fb40a3b778755e4ec37946f420e9e6aab8ed5093",
      "fileid": "https://r2.ropensci.org/813b4b6e9ad548e6b006486959778948bf6d819996ce18831eeda7fca5281d31",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/37778117227"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-08T12:42:26.000Z",
      "commit": "fb40a3b778755e4ec37946f420e9e6aab8ed5093",
      "fileid": "https://r2.ropensci.org/ba447eef684deedb0dc0ced1874540a3bb8a0d03503a60f568ce1c6dc887f925",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/37778117227"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-08T12:42:12.000Z",
      "commit": "fb40a3b778755e4ec37946f420e9e6aab8ed5093",
      "fileid": "https://r2.ropensci.org/2071203f8c141557ef52890452bfc81341026844389a56f1ddd69e19fd29e196",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/37778117227"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-08T12:42:17.000Z",
      "commit": "fb40a3b778755e4ec37946f420e9e6aab8ed5093",
      "fileid": "https://r2.ropensci.org/551d596806053cbe412a2705cccdd1c4d7ff4432665402d62c9cb9de02bcdb3b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/37778117227"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-08T12:41:34.000Z",
      "commit": "fb40a3b778755e4ec37946f420e9e6aab8ed5093",
      "fileid": "https://r2.ropensci.org/3db7ac640d28e738a2835a268a79272e0038c8083e77c223e6e7a2ab16a10cad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/37778117227"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-08T12:41:27.000Z",
      "commit": "fb40a3b778755e4ec37946f420e9e6aab8ed5093",
      "fileid": "https://r2.ropensci.org/e2ec8cb22d65ae2aef91a2f414446141577e6b702a8e5278ed35d265acf9a463",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/37778117227"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-08T12:41:31.000Z",
      "commit": "fb40a3b778755e4ec37946f420e9e6aab8ed5093",
      "fileid": "https://r2.ropensci.org/930f7da00fb9dbc5f8637bd3320d3b03f0739fdbf6440b9634f20ced68b570b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/37778117227"
    }
  ]
}