View source: R/count.pairings.R
count.pairings | R Documentation |
Given a treatment indicator and a potential blocking variable, counts the number of allowed treatment-control pairings in the whole match within blocks of the proposed variable.
count.pairings(z, exact)
z |
a vector of treatment indicators. Must contain exactly 2 distinct values, one for treated and one for control. |
exact |
a vector of categories of a potential blocking variable. Must be the same length as argument |
The number of within-block treatment-control edges contained in the sparse match with the proposed blocks.
Samuel D. Pimentel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.