{
  "_id": "6ad4a4467774b2311ffeabf6",
  "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-10-18 10:44:20 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/79fc5100a44f250b67b348252b23e29c1597ebf446b0e1c5ca5c7ce7af7c2e61",
  "_filesize": 193483,
  "_sha256": "79fc5100a44f250b67b348252b23e29c1597ebf446b0e1c5ca5c7ce7af7c2e61",
  "_expires": "2027-01-26T10:49:40.000Z",
  "_created": "2026-10-18T10:44:20.000Z",
  "_published": "2026-10-18T10:49:42.279Z",
  "_buildurl": "https://github.com/r-universe/rosenbap/actions/runs/39120238188",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117654818073,
      "time": 100,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12134171200"
    },
    {
      "job": 117654818095,
      "time": 94,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12134525012"
    },
    {
      "job": 117654818067,
      "time": 86,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12134575049"
    },
    {
      "job": 117654818069,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12133458671"
    },
    {
      "job": 117654246772,
      "time": 176,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12134097265"
    },
    {
      "job": 117654818099,
      "time": 78,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12133669238"
    },
    {
      "job": 117654818190,
      "time": 82,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12133279094"
    },
    {
      "job": 117654818079,
      "time": 106,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12133619516"
    },
    {
      "job": 117654818107,
      "time": 74,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12134370608"
    }
  ],
  "_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": 231,
    "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/manual.pdf",
    "extra/tightenBlock.html"
  ],
  "_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-10-18T10:46:01.000Z",
      "distro": "resolute",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "https://r2.ropensci.org/f73f0694df3c3a88db83e431cf6305a19bd1387afeae09c826a55fe8446a09eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/39120238188"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.7",
      "date": "2026-10-18T10:45:56.000Z",
      "distro": "resolute",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "https://r2.ropensci.org/7c14491c45ff8e7c25761bb8daacf6da9cd6b8c48b13b361e8e1446a909a8cd9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/39120238188"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.7",
      "date": "2026-10-18T10:47:40.000Z",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "https://r2.ropensci.org/4d813c0031dc6547241b2f944be4798cf729a0c4e8926b53791058dbb7154519",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/39120238188"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.7",
      "date": "2026-10-18T10:49:08.000Z",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "https://r2.ropensci.org/4a9096e5371c9c4be4bc43ab8e9d2e3545740c01a48228c482fe43422a542181",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/39120238188"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.7",
      "date": "2026-10-18T10:45:55.000Z",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "https://r2.ropensci.org/a2ec0f652f447422debec810150202952c802b6c593767cab80e7373dc8a5aae",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/39120238188"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.7",
      "date": "2026-10-18T10:45:39.000Z",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "https://r2.ropensci.org/8a96ee1c01e7310cd51d54d48b637a23ce660f0ad934fdd331606bbb48e7f5db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/39120238188"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.7",
      "date": "2026-10-18T10:46:04.000Z",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "https://r2.ropensci.org/85fcbe004221e563f03039ef469b76e47c73f5ffd41b71d1aeb8eaac1c7261d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/39120238188"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.7",
      "date": "2026-10-18T10:45:33.000Z",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "https://r2.ropensci.org/dc73f69ca9291f1f003ae534d30da963318319c9f637fa1f94ae26fd39979cd4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/39120238188"
    }
  ]
}