make_hist_plot: Make histogram plot

View source: R/S3_methods.R

make_hist_plotR Documentation

Make histogram plot

Description

Not meant to be called externally. Helper plot function for strata object with type = "hist". Produces a histogram of propensity scores within a stratum

Usage

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


raikens1/stratamatch documentation built on April 1, 2022, 9:48 p.m.