ps.matched.violinplot: Matched Sample Violinplot

Description Usage Arguments Details Examples

Description

Simple visual representation of matched samples

Usage

1

Arguments

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'.

Details

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.

Examples

1
2
3
4
## Not run: 
ps.matched.violinplot(myData)

## End(Not run)

OHDSI/Centaur documentation built on May 7, 2019, 8:22 p.m.