make_hist_plot function

Make histogram plot

Make histogram plot

Not meant to be called externally. Helper plot function for strata

object with type = "hist". Produces a histogram of propensity scores within a stratum

make_hist_plot(x, propensity, strat)

Arguments

  • x: a strata object returned by auto_stratify or manual_stratify
  • propensity: ignored unless type = "hist" or type = "AC". Specifies propensity score information for plots where this is required. Accepts either a vector of propensity scores, a glm model for propensity scores, or a formula for fitting a propensity score model.
  • strat: the number code of the strata to be plotted. If "all", plots all strata
  • Maintainer: Rachael C. Aikens
  • License: GPL-3
  • Last published: 2022-03-31