AC_plot: Assignment-Control Plot

Description Usage Arguments Value

View source: R/RAC_plots.R

Description

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

Usage

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

Arguments

data

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

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.