View source: R/trimatch.apply2.R

Internal method. This version does not use the exact matching. Instead, this function should be called separately for each grouping.

1 | ```
trimatch.apply2(tpsa, caliper, nmatch, match.order, sd1, sd2, sd3)
``` |

`tpsa` |
the results from |

`caliper` |
a vector of length one or three indicating the caliper to use for matching within each step. This is expressed in standardized units such that .25 means that matches must be within .25 of one standard deviation to be kept, otherwise the match is dropped. |

`nmatch` |
number of closest matches to retain before moving to next edge. This can
be |

`match.order` |
character vector of length three indicating the order in which the matching algorithm will processes. The default is to use start with the group the middle number of subjects, followed by the smallest, and then the largest. |

`sd1` |
standard deviation for propensity scores from model 1. |

`sd2` |
standard deviation for propensity scores from model 2. |

`sd3` |
standard deviation for propensity scores from model 3. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.