apply_calipers: Apply caliper constraints

View source: R/matching_constraints.R

apply_calipersR Documentation

Apply caliper constraints

Description

A caliper is a maximum absolute difference on one column of both data frames: a matching variable, or another one such as a propensity score.

Usage

apply_calipers(cost_matrix, left, right, calipers)

Value

Modified cost matrix with forbidden pairs marked.


couplr documentation built on Nov. 26, 2026, 9:07 a.m.