Simple visual representation of matched samples
Data Frame - containing the dataset with previously calculated matches. The data frame must contain a treatment indicator variable called 'treat' and a variable indicating whether the subject was matched called 'is_matched'.
This function creates a simple scatter plot of matched and unmatched samples. Works best for smaller sample sizes.
1 2 3 4
## Not run: ps.matched.scatterplot(myData) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.