covariate_overlap: Covariate overlap figure

View source: R/covariate_overlap.R

covariate_overlapR Documentation

Covariate overlap figure

Description

Covariate overlap figure

Usage

covariate_overlap(treatment, prob)

Arguments

treatment

A numeric vector representing the treatment groups.

prob

Probability of being assigned to the treatment group.

Value

A ggplot figure.

References

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


CIMTx documentation built on June 24, 2022, 9:07 a.m.