scoreCaliper | R Documentation |
(Internal) Helper function to create an InfinitySparseMatrix from a set of scores, a treatment indicator, and a caliper width.
scoreCaliper(x, z, caliper)
x |
The scores, a vector indicating the 1-D location of each unit. |
z |
The treatment assignment vector (same length as |
caliper |
The width of the caliper with respect to the scores
|
An InfinitySparseMatrix
object, suitable to be
passed to match_on
as an within
argument.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.