plot.PSRWE_DTA: Plot PS distributions
Description
S3 method for visualizing PS adjustment
Usage
# S3 method for PSRWE_DTA
plot(x, plot_type = c("ps", "balance", "diff"), ...)Value
A plot of class in ggplot2
Arguments
- x
Class RWE_DWITHPS created by psrwe_* functions
- plot_type
Types of plots.
- ps
PS density plot
- balance
Covariate balance plot
- diff
Standardized mean differences, metric = std or astd
...
Additional parameter for the plot