Produces summary plots for a gapclosing object.
# S3 method for gapclosing
plot(x, return_plots = FALSE, arranged = FALSE, ...)An object of class gapclosing, which results from a call to the function gapclosing
Logical, defaults to FALSE. If TRUE, returns a list of the 4 plots without printing. Defaults to FALSE, in which case the console will interactively ask the user to hit "return" to proceed through printouts of the four plots, with no plots returned.
Logical, defaults to FALSE. If TRUE, returns a list of the 4 plots arranged in a 2x2 table. Useful to visualize all four in one screen.
Other arguments to plot commands
If return_plots = TRUE, returns a list of ggplot2 objects. If return_plots = FALSE (the default), then nothing is returned and output is printed.
Lundberg I (2021). "The gap-closing estimand: A causal approach to study interventions that close disparities across social categories." Sociological Methods and Research. Available at https://osf.io/gx4y3/.