make_hist_plot: Make histogram plot

Description Usage Arguments

View source: R/S3_methods.R

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

1
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 May 27, 2021, 10:13 p.m.