Description Usage Arguments Details Examples
Simple visual representation of matched samples
1 |
data |
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 violin plot of matched and unmatched samples. This plot shows the kernel density for the two populations - with an inner box and whisker plot of summary statistics. This plot tends to work better for large populations than the matched scatter plot.
1 2 3 4 | ## Not run:
ps.matched.violinplot(myData)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.