plot.PSRWE_DTA: Plot PS distributions

View source: R/psrwe_ps_est.R

plot.PSRWE_DTAR Documentation

Plot PS distributions

Description

S3 method for visualizing PS adjustment

Usage

## S3 method for class 'PSRWE_DTA'
plot(x, plot_type = c("ps", "balance", "diff"), ...)

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

Value

A plot of class in ggplot2


psrwe documentation built on Aug. 21, 2026, 9:14 a.m.