{
  "_id": "6a1f335cb401979e73428176",
  "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-05-15 07:14:41 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",
  "MD5sum": "930ff5edeb71ddff23781b739343be73",
  "_user": "rosenbap",
  "_type": "src",
  "_file": "tightenBlock_0.1.7.tar.gz",
  "_fileid": "91b00a436e63af3dcaa663a54d45176c85705fb56192726c7c3f3485848d7a38",
  "_filesize": 192589,
  "_sha256": "91b00a436e63af3dcaa663a54d45176c85705fb56192726c7c3f3485848d7a38",
  "_created": "2026-05-15T07:14:41.000Z",
  "_published": "2026-06-02T19:47:40.345Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79158138854,
      "time": 121,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7012068400"
    },
    {
      "job": 79158139240,
      "time": 109,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7012065546"
    },
    {
      "job": 79158139196,
      "time": 193,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7012082203"
    },
    {
      "job": 79158138527,
      "time": 143,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7012069445"
    },
    {
      "job": 79158138341,
      "time": 171,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7012033739"
    },
    {
      "job": 79158138103,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7368162578"
    },
    {
      "job": 79158138818,
      "time": 81,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7012058155"
    },
    {
      "job": 79158138903,
      "time": 107,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7012065574"
    },
    {
      "job": 79158139144,
      "time": 82,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7012058209"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rosenbap/actions/runs/25905428918",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 254956857
  },
  "_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"
  },
  "_downloads": {
    "count": 172,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tightenBlock"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_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-05-15T07:17:02.000Z",
      "distro": "noble",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "b5ae5b2325ec70ddc1122c7f191933f1281e8c4be43ae3b807472819be25f28c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/25905428918"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.7",
      "date": "2026-05-15T07:16:52.000Z",
      "distro": "noble",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "19bf381d241e538636b45ff06de6a384c3bcdb12bcbdf5242daf6a4e23aa3319",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/25905428918"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.7",
      "date": "2026-05-15T07:17:56.000Z",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "100ac8f8fb6ba7c400a0b180a8ad73e9ed0d63682beff9517c04ef540d604e1b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/25905428918"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.7",
      "date": "2026-05-15T07:17:10.000Z",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "461f5d57876918458f1ea367ec671f11bcac665b9d5a216f340f169a243b7382",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/25905428918"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.7",
      "date": "2026-05-15T07:16:20.000Z",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "b999a2dc1691647aa221f982b09b42afbba2cfeedf196dae29459cd5a34940ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/25905428918"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.7",
      "date": "2026-05-15T07:16:49.000Z",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "e8d65c949be8fedd1511ed181000804af0f94023d801e086ed6c2d91e0cca164",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/25905428918"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.7",
      "date": "2026-05-15T07:16:20.000Z",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "ba107db409df2e34ecc74459ec3599a4fd6779af82153942f44853900268d49f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/25905428918"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.7",
      "date": "2026-06-02T19:47:25.000Z",
      "commit": "3e699d5a04031299ad9058cf54ca4731255081e2",
      "fileid": "e4f34b47cb61263547dc61f161c9ec74632de20ac8d2e7a1b5c092a620e63f01",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rosenbap/actions/runs/25905428918"
    }
  ]
}