View source: R/covariate_overlap.R
covariate_overlap | R Documentation |
Covariate overlap figure
covariate_overlap(treatment, prob)
treatment |
A numeric vector representing the treatment groups. |
prob |
Probability of being assigned to the treatment group. |
A ggplot figure.
H. Wickham. ggplot2: Elegant Graphics for Data Analysis. Springer-Verlag New York, 2016.
Claus O. Wilke (2020). cowplot: Streamlined Plot Theme and Plot Annotations for 'ggplot2'. R package version 1.1.1. URL:https://CRAN.R-project.org/package=cowplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.