View source: R/with_replacement_match.R
Computes matching with replacement. Alternative to "greedy" and "optimal".
1 | with_replacement_match(dist_mat, treat_vec)
|
dist_mat |
Matrix of pairwise distances. |
treat_vec |
Vector representing all subjects; 0 for control, 1 for treated. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.