calipers: Matching priority function

Description Usage Arguments Value See Also

Description

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.

Usage

1
calipers(distmat, variable, tolerance = 0.2)

Arguments

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

Value

Returns an updated distance matrix

See Also

matches, opt.nearfar



Search within the nearfar package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.