AR_plot: Assignment-Randomization plot

Description Usage Arguments Value

View source: R/RAC_plots.R

Description

Makes an AR plot of the data, with treated individuals in red and opaque, control individuals translucent blue. Assumes propensity scores and IV are already in the data as prop and IV

Usage

1
AR_plot(data, title = "", opaque_class = 1)

Arguments

data

a data.frame or tibble with t, prop, and IV

title

a title for the plot

opaque_class

1, 0 or "none". Specifies which class should be opaque and which should be translucent

Value

a ggplot object


raikens1/RACplots documentation built on July 10, 2021, 11:08 a.m.