A histogram displaying propensity score weights. If object is of class grouped_psweight, then histograms are faceted by the group number. If object is of class grouped_psweight_mi, then weights from the imputations are pooled.

plot_weights(object, ...)

# S3 method for grouped_psweight_mi
plot_weights(object, method = "iptw_att")

Arguments

object

An object of the appropriate class.

method

A character vector of length one indicating the propensity score method used to generate the weights.

Value

A ggplot2::ggplot object.