Plot distribution of treatment effects over time
plotDistOverTime(
cdf_centered,
grid_cdf,
t_start,
t_max,
CI,
ci_lower,
ci_upper,
ylim = c(0, 1),
xlim = NULL,
cdf = TRUE,
xlab = "Distribution Difference",
ylab = "CDF",
obsLine = NULL,
savePlots = FALSE,
plotName = NULL,
lty = 1,
lty_obs = 1,
t_plot = NULL
)
plot of distribution of treatment effects over time
list of centered distributional statistics
grid
start time
maximum time
logical indicating whether to plot confidence intervals
lower confidence interval
upper confidence interval
y limits
x limits
logical indicating whether to plot CDF or quantile difference
x label
y label
optional additional line to plot. Default is NULL which means no line is plotted.
logical indicating whether to save plots
name of plot to save
line type for the main line passed as cdf_centered
line type for the optional additional line passed as obsLine
optional vector of times to plot. Default is NULL which means all times are plotted.