{
  "_id": "6a55e6dcff0138dec5d6a5b8",
  "Package": "tightenBlock",
  "Type": "Package",
  "Title": "Tightens an Observational Block Design by Balanced Subset\nMatching",
  "Version": "0.1.7",
  "Authors@R": "c(person(\"Paul\", \"Rosenbaum\", role = c(\"aut\", \"cre\"),\nemail = \"rosenbaum@wharton.upenn.edu\"))",
  "Author": "Paul Rosenbaum [aut, cre]",
  "Maintainer": "Paul Rosenbaum <rosenbaum@wharton.upenn.edu>",
  "Description": "Tightens an observational block design into a smaller\ndesign with either smaller or fewer blocks while controlling\nfor covariates. The method uses fine balance, optimal subset\nmatching (Rosenbaum, 2012 <doi:10.1198/jcgs.2011.09219>) and\ntwo-criteria matching (Zhang et al 2023\n<doi:10.1080/01621459.2021.1981337>).  The main function is\ntighten().  The suggested 'rrelaxiv' package for solving\nminimum cost flow problems: (i) derives from Bertsekas and\nTseng (1988) <doi:10.1007/BF02288322>, (ii) is not available on\nCRAN due to its academic license, (iii) may be downloaded from\nGitHub at <https://github.com/josherrickson/rrelaxiv/>, (iv) is\nnot essential to use the package.",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Additional_repositories": "https://errickson.net/rrelaxiv/",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-14 07:33:11 UTC",
    "User": "root"
  },
  "Repository": "https://rosenbap.r-universe.dev",
  "Date/Publication": "2023-12-16 02:38:21 UTC",
  "RemoteUrl": "https://github.com/cran/tightenBlock",
  "RemoteRef": "HEAD",
  "RemoteSha": "3e699d5a04031299ad9058cf54ca4731255081e2",
  "_user": "rosenbap",
  "_type": "src",
  "_file": "tightenBlock_0.1.7.tar.gz",
  "_fileid": "https://r2.ropensci.org/6ab16ccdfcc7f81a3b7d723ddaef7b150f87b0b2ebc1f90b67a0d205469bbe0c",
  "_filesize": 193395,
  "_sha256": "6ab16ccdfcc7f81a3b7d723ddaef7b150f87b0b2ebc1f90b67a0d205469bbe0c",
  "_expires": "2026-10-22T07:35:54.000Z",
  "_created": "2026-07-14T07:33:11.000Z",
  "_published": "2026-07-14T07:35:56.821Z",
  "_jobs": [
    {
      "job": 87026744759,
      "time": 119,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8303586201"
    },
    {
      "job": 87026744771,
      "time": 123,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8303587373"
    },
    {
      "job": 87026744811,
      "time": 115,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8303585413"
    },
    {
      "job": 87026744761,
      "time": 114,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8303583678"
    },
    {
      "job": 87026153004,
      "time": 192,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8303540704"
    },
    {
      "job": 87026744746,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8303578815"
    },
    {
      "job": 87026744763,
      "time": 82,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8303572082"
    },
    {
      "job": 87026744827,
      "time": 90,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8303574637"
    },
    {
      "job": 87026744790,
      "time": 83,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8303572670"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/rosenbap/actions/runs/29314748852",
  "_status": "success",
  "_upstream": "https://github.com/cran/tightenBlock",
  "_commit": {
    "id": "3e699d5a04031299ad9058cf54ca4731255081e2",
    "author": "Paul Rosenbaum <rosenbaum@wharton.upenn.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.7\n",
    "time": 1702694301
  },
  "_maintainer": {
    "name": "Paul Rosenbaum",
    "email": "rosenbaum@wharton.upenn.edu",
    "login": "rosenbap",
    "description": "",
    "uuid": 254956857
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "rcbalance",
      "role": "Imports"
    },
    {
      "package": "rrelaxiv",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "rosenbap",
      "count": 1,
      "uuid": 254956857
    }
  ],
  "_userbio": {
    "uuid": 254956857,
    "type": "user",
    "name": "rosenbap",
    "followers": 0
  },
  "_downloads": {
    "count": 201,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tightenBlock"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/tightenBlock.html",
    "manual.pdf"
  ],
  "_realowner": "rosenbap",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.7",
      "date": "2023-12-15"
    }
  ],
  "_exports": [
    "addMahal",
    "addNearExact",
    "makematch",
    "makenetwork",
    "startcost",
    "tighten"
  ],
  "_datasets": [
    {
      "name": "aHDLt",
      "title": "Alcohol and HDL Cholesterol",
      "object": "aHDLt",
      "class": [
        "data.frame"
      ],
      "fields": [
        "SEQN",
        "nh",
        "age",
        "female",
        "education",
        "z",
        "grp",
        "grpL",
        "hdl",
        "mmercury",
        "dentist1Y",
        "bmi",
        "ibmi",
        "block"
      ],
      "rows": 1624,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "tightenBlock-package",
      "title": "Tightens an Observational Block Design by Balanced Subset Matching",
      "concept": [
        "Tightening blocks",
        "Causal inference",
        "Observational study",
        "Fine balance",
        "Optimal subset matching",
        "Two criteria matching",
        "Block design"
      ],
      "topics": [
        "tightenBlock-package",
        "tightenBlock"
      ]
    },
    {
      "page": "addMahal",
      "title": "Rank-Based Mahalanobis Distance Matrix",
      "concept": [
        "Matching",
        "Mahalanobis distance"
      ],
      "topics": [
        "addMahal"
      ]
    },
    {
      "page": "addNearExact",
      "title": "Add a Near-exact Penalty to an Exisiting Distance Matrix.",
      "topics": [
        "addNearExact"
      ]
    },
    {
      "page": "aHDLt",
      "title": "Alcohol and HDL Cholesterol",
      "concept": [
        "Observational study",
        "Causal inference",
        "Multiple control groups",
        "Second control group",
        "Tightened blocks",
        "Unaffected outcome",
        "Block design"
      ],
      "topics": [
        "aHDLt"
      ]
    },
    {
      "page": "makematch",
      "title": "Make a Match Using Two Criteria Matching with Optimal Subset Matching",
      "concept": [
        "Matching",
        "Two-criteria matching",
        "Propensity score",
        "Network optimization"
      ],
      "topics": [
        "makematch"
      ]
    },
    {
      "page": "makenetwork",
      "title": "Make the Network Used for Matching with Two Criteria",
      "topics": [
        "makenetwork"
      ]
    },
    {
      "page": "startcost",
      "title": "Initialize a Distance Matrix.",
      "topics": [
        "startcost"
      ]
    },
    {
      "page": "tighten",
      "title": "Tightening an Observational Block Design",
      "concept": [
        "Matching",
        "Tightening a block design",
        "Subset matching",
        "Network optimization",
        "Hamming distance"
      ],
      "topics": [
        "tighten"
      ]
    }
  ],
  "_rundeps": [
    "MASS",
    "plyr",
    "rcbalance",
    "Rcpp",
    "rlemon"
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "tightenblock",
  "_universes": [
    "rosenbap"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.7",
      "date": "2026-07-14T07:35:12.000Z",
      "distro": "resolute",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "https://r2.ropensci.org/428e17d0599afdfac2e1d70fd8f8f12a9452d7dcdb7ad2726621eb950ea4345e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/29314748852"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.7",
      "date": "2026-07-14T07:35:14.000Z",
      "distro": "resolute",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "https://r2.ropensci.org/7acdcff4f1c8747d9479bff5c1217a2561d5421a31086c5f647b021d052a34c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/29314748852"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.7",
      "date": "2026-07-14T07:35:12.000Z",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "https://r2.ropensci.org/9d5f5f5792970c833c42a2fe9dcc5ff501c5800445b4465bd39bf16e428547bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/29314748852"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.7",
      "date": "2026-07-14T07:35:06.000Z",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "https://r2.ropensci.org/4aa392d969bb5a5d007e904d0ac12c5be12ba2a6bb56e1be229fd58af99e9785",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/29314748852"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.7",
      "date": "2026-07-14T07:35:08.000Z",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "https://r2.ropensci.org/a2ee3b8d6670c6b8851918ada3af3203f7ca2b0e4440d5a72bea206a40e56d69",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/29314748852"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.7",
      "date": "2026-07-14T07:34:32.000Z",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "https://r2.ropensci.org/fa7057ecceeae231721db18e3c24cf2308a3068272d2cdd2e467c5ffe18353c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/29314748852"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.7",
      "date": "2026-07-14T07:34:39.000Z",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "https://r2.ropensci.org/4c5c1963ed3fba049d85bec743d708cc8324ea57e67ee91b845f8a3903a5771a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/29314748852"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.7",
      "date": "2026-07-14T07:34:34.000Z",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "https://r2.ropensci.org/faceef9e1dc3ba5377cfd8913e4e1093bd69932552c035d884bffbb534d15401",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/29314748852"
    }
  ]
}