covariate_overlap {CIMTx}R 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


[Package CIMTx version 1.2.0 Index]