Description Usage Arguments Value See Also Examples
Updates given distance matrix to prioritize specified measured
confounders in a pair match. Used in consort with
matches
function to prioritize specific measured
confounders in a near-far match in the opt_nearfar
function.
1 | calipers(distmat, variable, tolerance = 0.2)
|
distmat |
An object of class distance matrix |
variable |
Named variable from list of measured confounders |
tolerance |
Penalty to apply to mismatched observations; values near 0 penalize mismatches more |
Returns an updated distance matrix
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.