Plot the overlap of variablesSource:
Plot histograms showing the overlap between variables by treatment status.
plot_overlap_vars( .data, treatment, confounders, plot_type = c("histogram", "density"), min_x = NULL, max_x = NULL )
character. Name of the treatment column within .data
character list of column names denoting confounders within .data
the plot type, one of c('histogram', 'density'). Defaults to 'histogram'
numeric value specifying the minimum value to be shown on the x axis
numeric value specifying the maximum value to be shown on the x axis