make_hist_plot {stratamatch}R 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


[Package stratamatch version 0.1.9 Index]