View source: R/triangle.match.R
This method will attempt to return enough rows to use each treatment (the first two groups in the matching order) at least once. Assuming treat1 is the first group in the match order and treat2 the second, all duplicate treat1 rows are removed. Next, all treat2 units not in present in after removing duplicate treat1 units are identified. For each of those treat2 units, the matched triplet with the smallest overall distances where treat2 is one of the mathched units is retained.
1 | maximumTreat(tmatch, ...)
|
tmatch |
initial results from |
... |
currently unused. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.