Learn R Programming

PSpower (version 0.1.1)

plot_overlap: Plot density of propensity scores given treatment probability and overlap coefficient

Description

Plot density of propensity scores given treatment probability and overlap coefficient

Usage

plot_overlap(r, phi)

Value

a ggplot of the density of propensity scores in two treatment arms

Arguments

r

treatment probability

phi

overlap coefficient

Examples

Run this code
plot_overlap(0.6, 0.9)

Run the code above in your browser using DataLab