{
  "_id": "6ac8a6ebde46216d5edd51aa",
  "Package": "nbpMatching",
  "Type": "Package",
  "Title": "Functions for Optimal Non-Bipartite Matching",
  "Version": "1.5.6",
  "Date": "2024-09-23",
  "Author": "Cole Beck [aut, cre], Bo Lu [aut], Robert Greevy [aut]",
  "Maintainer": "Cole Beck <cole.beck@vumc.org>",
  "Authors@R": "c(person(\"Cole\", \"Beck\", role = c(\"aut\", \"cre\"),\nemail = \"cole.beck@vumc.org\"),\nperson(\"Bo\", \"Lu\", role = \"aut\"),\nperson(\"Robert\", \"Greevy\", role = \"aut\"))",
  "Description": "Perform non-bipartite matching and matched randomization.\nA \"bipartite\" matching utilizes two separate groups, e.g.\nsmokers being matched to nonsmokers or cases being matched to\ncontrols. A \"non-bipartite\" matching creates mates from one big\ngroup, e.g. 100 hospitals being randomized for a two-arm\ncluster randomized trial or 5000 children who have been exposed\nto various levels of secondhand smoke and are being paired to\nform a greater exposure vs. lesser exposure comparison. At the\ncore of a non-bipartite matching is a N x N distance matrix for\nN potential mates. The distance between two units expresses a\nmeasure of similarity or quality as mates (the lower the\nbetter). The 'gendistance()' and 'distancematrix()' functions\nassist in creating this. The 'nonbimatch()' function creates\nthe matching that minimizes the total sum of distances between\nmates; hence, it is referred to as an \"optimal\" matching. The\n'assign.grp()' function aids in performing a matched\nrandomization. Note bipartite matching can be performed using\nthe prevent option in 'gendistance()'.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/couthcommander/nbpMatching",
  "Collate": "'distancematrix.R' 'nonbimatch.R' 'assign.grp.R'\n'fill.missing.R' 'gendistance.R' 'make.phantoms.R'\n'nbpmatching-package.R' 'qom.R' 'quantile.R' 'subsetMatches.R'\n'utils.R'",
  "RoxygenNote": "7.3.1",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://couthcommander.r-universe.dev",
  "Date/Publication": "2024-09-24 15:49:05 UTC",
  "RemoteUrl": "https://github.com/couthcommander/nbpmatching",
  "RemoteRef": "HEAD",
  "RemoteSha": "5c43f28c257cdcfa18203304fb41446d9e6b10dc",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-09 08:26:57 UTC",
    "User": "root"
  },
  "_user": "couthcommander",
  "_type": "src",
  "_file": "nbpMatching_1.5.6.tar.gz",
  "_fileid": "https://r2.ropensci.org/bf28cd546e8eb276e3560e19bf25c2e8b4525ddc9769636d8025f91aefff4973",
  "_filesize": 188385,
  "_sha256": "bf28cd546e8eb276e3560e19bf25c2e8b4525ddc9769636d8025f91aefff4973",
  "_expires": "2027-01-17T08:33:45.000Z",
  "_created": "2026-10-09T08:26:57.000Z",
  "_published": "2026-10-09T08:33:47.176Z",
  "_buildurl": "https://github.com/r-universe/couthcommander/actions/runs/37904683373",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113736385834,
      "time": 160,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11604371268"
    },
    {
      "job": 113736385621,
      "time": 120,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11603839353"
    },
    {
      "job": 113736385622,
      "time": 125,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11603779677"
    },
    {
      "job": 113736385680,
      "time": 137,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11604401000"
    },
    {
      "job": 113736385637,
      "time": 120,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11603774498"
    },
    {
      "job": 113736385536,
      "time": 171,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11604401110"
    },
    {
      "job": 113736385702,
      "time": 116,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11603573452"
    },
    {
      "job": 113736385521,
      "time": 265,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11604057746"
    },
    {
      "job": 113735282581,
      "time": 197,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11603494873"
    },
    {
      "job": 113736385341,
      "time": 90,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11603809338"
    },
    {
      "job": 113736385674,
      "time": 366,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11604441477"
    },
    {
      "job": 113736385695,
      "time": 134,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11604515733"
    },
    {
      "job": 113736385752,
      "time": 104,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11604445699"
    },
    {
      "job": 113736385712,
      "time": 337,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11604625877"
    },
    {
      "job": 113736385642,
      "time": 108,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11603074272"
    }
  ],
  "_upstream": "https://github.com/couthcommander/nbpmatching",
  "_commit": {
    "id": "5c43f28c257cdcfa18203304fb41446d9e6b10dc",
    "author": "Cole Beck <cole.beck@vumc.org>",
    "committer": "Cole Beck <cole.beck@vumc.org>",
    "message": "update url in doc\n",
    "time": 1727192945
  },
  "_maintainer": {
    "name": "Cole Beck",
    "email": "cole.beck@vumc.org",
    "login": "couthcommander",
    "description": "",
    "uuid": 29514
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "Hmisc",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    }
  ],
  "_owner": "couthcommander",
  "_selfowned": true,
  "_usedby": 7,
  "_updates": [],
  "_tags": [],
  "_stars": 9,
  "_contributors": [
    {
      "user": "couthcommander",
      "count": 5,
      "uuid": 29514
    }
  ],
  "_userbio": {
    "uuid": 29514,
    "type": "user",
    "name": "Cole Beck",
    "followers": 40
  },
  "_downloads": {
    "count": 2003,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nbpMatching"
  },
  "_mentions": 4,
  "_devurl": "https://github.com/couthcommander/nbpmatching",
  "_searchresults": 82,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/nbpMatching.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/couthcommander/nbpmatching",
  "_realowner": "couthcommander",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2009-09-18"
    },
    {
      "version": "1.3.2",
      "date": "2012-10-29"
    },
    {
      "version": "1.3.6",
      "date": "2012-11-05"
    },
    {
      "version": "1.4.0",
      "date": "2013-04-17"
    },
    {
      "version": "1.4.4",
      "date": "2015-01-20"
    },
    {
      "version": "1.4.5",
      "date": "2015-05-14"
    },
    {
      "version": "1.5.0",
      "date": "2016-01-13"
    },
    {
      "version": "1.5.1",
      "date": "2016-04-19"
    },
    {
      "version": "1.5.4",
      "date": "2023-08-19"
    },
    {
      "version": "1.5.5",
      "date": "2024-05-17"
    },
    {
      "version": "1.5.6",
      "date": "2024-09-25"
    }
  ],
  "_exports": [
    "assign.grp",
    "distancematrix",
    "fill.missing",
    "full.qom",
    "gendistance",
    "get.sets",
    "make.phantoms",
    "nonbimatch",
    "qom",
    "quantile",
    "runner",
    "scalar.dist",
    "subsetMatches"
  ],
  "_help": [
    {
      "page": "nbpMatching-package",
      "title": "Nonbipartite Matching",
      "topics": [
        "nbpMatching-package",
        "nbpMatching"
      ]
    },
    {
      "page": "assign.grp",
      "title": "Random Group Assignment",
      "topics": [
        "assign.grp",
        "assign.grp,data.frame-method",
        "assign.grp,nonbimatch-method"
      ]
    },
    {
      "page": "distancematrix",
      "title": "Distance matrix",
      "topics": [
        "distancematrix",
        "distancematrix,character-method",
        "distancematrix,data.frame-method",
        "distancematrix,list-method",
        "distancematrix,matrix-method",
        "distancematrix-class"
      ]
    },
    {
      "page": "fill.missing",
      "title": "Data Imputation",
      "topics": [
        "fill.missing",
        "fill.missing,data.frame-method"
      ]
    },
    {
      "page": "gendistance",
      "title": "Generate a Distance Matrix",
      "topics": [
        "gendistance",
        "gendistance,data.frame-method"
      ]
    },
    {
      "page": "get.sets",
      "title": "Get named sets of matches",
      "topics": [
        "get.sets",
        "get.sets,data.frame-method",
        "get.sets,nonbimatch-method"
      ]
    },
    {
      "page": "make.phantoms",
      "title": "Add Phantom Rows and Columns",
      "topics": [
        "make.phantoms",
        "make.phantoms,ANY,missing-method",
        "make.phantoms,data.frame,numeric-method",
        "make.phantoms,matrix,numeric-method"
      ]
    },
    {
      "page": "nonbimatch",
      "title": "Nonbipartite Matching",
      "topics": [
        "nonbimatch",
        "nonbimatch,distancematrix-method",
        "nonbimatch-class"
      ]
    },
    {
      "page": "qom",
      "title": "Quality of Match",
      "topics": [
        "qom",
        "qom,data.frame,data.frame-method",
        "qom,data.frame,nonbimatch-method"
      ]
    },
    {
      "page": "quantile",
      "title": "Quantile for upper-triangular values in distance matrix",
      "topics": [
        "quantile",
        "quantile,distancematrix-method"
      ]
    },
    {
      "page": "scalar.dist",
      "title": "Calculate scalar distance",
      "topics": [
        "scalar.dist",
        "scalar.dist,vector-method"
      ]
    },
    {
      "page": "subsetMatches",
      "title": "Subset Matches",
      "topics": [
        "subsetMatches",
        "subsetMatches,nonbimatch-method"
      ]
    }
  ],
  "_readme": "https://github.com/couthcommander/nbpmatching/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "base64enc",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "colorspace",
    "cpp11",
    "data.table",
    "digest",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreign",
    "Formula",
    "fs",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lifecycle",
    "magrittr",
    "MASS",
    "memoise",
    "mime",
    "nnet",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "tinytex",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_score": 6.792986601514518,
  "_indexed": true,
  "_nocasepkg": "nbpmatching",
  "_universes": [
    "couthcommander"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.6",
      "date": "2026-10-09T08:29:31.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5c43f28c257cdcfa18203304fb41446d9e6b10dc",
      "fileid": "https://r2.ropensci.org/e6fdba8f6f2d63eed5bcf55287d8317a51e8a6ef61d999f25aed5c608625913c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/couthcommander/actions/runs/37904683373"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.6",
      "date": "2026-10-09T08:28:49.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5c43f28c257cdcfa18203304fb41446d9e6b10dc",
      "fileid": "https://r2.ropensci.org/2276885a6b01c2f875626621fe23cfbc20e2215e78e03ccdb021fe652f497f9a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/couthcommander/actions/runs/37904683373"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.5.6",
      "date": "2026-10-09T08:29:02.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5c43f28c257cdcfa18203304fb41446d9e6b10dc",
      "fileid": "https://r2.ropensci.org/0bfccf4cfd85bfc1a804b1bd1212a6c629e7219ed8106e239989e52968bfddf1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/couthcommander/actions/runs/37904683373"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.5.6",
      "date": "2026-10-09T08:29:04.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5c43f28c257cdcfa18203304fb41446d9e6b10dc",
      "fileid": "https://r2.ropensci.org/8b371545300ff76fd5c1a16c4b7e1f80c58423cfa671238c812a0fc29faf906a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/couthcommander/actions/runs/37904683373"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.6",
      "date": "2026-10-09T08:28:54.000Z",
      "arch": "aarch64",
      "commit": "5c43f28c257cdcfa18203304fb41446d9e6b10dc",
      "fileid": "https://r2.ropensci.org/efeda47604b19d6ad85456c02508a5222ea9cc99330a20323873eacf8036002d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/couthcommander/actions/runs/37904683373"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.6",
      "date": "2026-10-09T08:29:26.000Z",
      "arch": "x86_64",
      "commit": "5c43f28c257cdcfa18203304fb41446d9e6b10dc",
      "fileid": "https://r2.ropensci.org/8fbf70653af20d3a89385e7ddf1ad90bd4a609272266467c987d99a82df96a6f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/couthcommander/actions/runs/37904683373"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.5.6",
      "date": "2026-10-09T08:28:52.000Z",
      "arch": "aarch64",
      "commit": "5c43f28c257cdcfa18203304fb41446d9e6b10dc",
      "fileid": "https://r2.ropensci.org/1e66541d3dac436a91dce1bb7965ec76c42b88b98e0030ede5d87604f61feb4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/couthcommander/actions/runs/37904683373"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.5.6",
      "date": "2026-10-09T08:30:41.000Z",
      "arch": "x86_64",
      "commit": "5c43f28c257cdcfa18203304fb41446d9e6b10dc",
      "fileid": "https://r2.ropensci.org/f871605b6d04f9c42ecce5350cb6863bf5fa121aeffb7fcced9473411cb3555c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/couthcommander/actions/runs/37904683373"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.6",
      "date": "2026-10-09T08:28:47.000Z",
      "arch": "emscripten",
      "commit": "5c43f28c257cdcfa18203304fb41446d9e6b10dc",
      "fileid": "https://r2.ropensci.org/cb3d5a85853532515b348cc4b706c732c104056e492dee60d5f5e2bbf319e747",
      "status": "success",
      "buildurl": "https://github.com/r-universe/couthcommander/actions/runs/37904683373"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.6",
      "date": "2026-10-09T08:32:21.000Z",
      "arch": "aarch64",
      "commit": "5c43f28c257cdcfa18203304fb41446d9e6b10dc",
      "fileid": "https://r2.ropensci.org/ed7df5a387b7abc20386b5cfbf00811dc9b8c7ee1b6726280b78b95a2b44a7f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/couthcommander/actions/runs/37904683373"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.6",
      "date": "2026-10-09T08:28:13.000Z",
      "arch": "x86_64",
      "commit": "5c43f28c257cdcfa18203304fb41446d9e6b10dc",
      "fileid": "https://r2.ropensci.org/2d72c3fbc9472bad2107146e78a3bc74fa4d7f5df2248691340b9cdb6e4fff73",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/couthcommander/actions/runs/37904683373"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.6",
      "date": "2026-10-09T08:28:13.000Z",
      "arch": "x86_64",
      "commit": "5c43f28c257cdcfa18203304fb41446d9e6b10dc",
      "fileid": "https://r2.ropensci.org/27b02ef29e62bc597eab52d00bc1ba16ccf7a3d7c3812129e2233332d68974bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/couthcommander/actions/runs/37904683373"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.5.6",
      "date": "2026-10-09T08:31:46.000Z",
      "arch": "aarch64",
      "commit": "5c43f28c257cdcfa18203304fb41446d9e6b10dc",
      "fileid": "https://r2.ropensci.org/889fbf2e3c8f3d0a1d5c719cc86a9a875fe4b8e43f4da96c13085abe5d1d7a38",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/couthcommander/actions/runs/37904683373"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.5.6",
      "date": "2026-10-09T08:28:22.000Z",
      "arch": "x86_64",
      "commit": "5c43f28c257cdcfa18203304fb41446d9e6b10dc",
      "fileid": "https://r2.ropensci.org/61e15aad413792c13ac0981dd1fffa90fee756a4533252f4621d2619caec2f1f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/couthcommander/actions/runs/37904683373"
    }
  ]
}