make_fm_plot: Make Fisher-Mill plot

Description Usage Arguments See Also

View source: R/S3_methods.R

Description

Not meant to be called externally. Helper plot function for strata object with type = "FM". Produces a Fisher-Mill plot of stratum s

Usage

1
make_fm_plot(x, propensity, s, jitter_prognosis, jitter_propensity)

Arguments

x

a strata object returned by auto_stratify or manual_stratify

propensity

ignored unless type = "hist" or type = "FM". 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.

s

the number code of the stratum to be plotted

jitter_prognosis

ignored unless type = "FM". Amount of uniform random noise to add to prognostic scores in plot.

jitter_propensity

ignored unless type = "FM". Amount of uniform random noise to add to propensity scores in plot.

See Also

Aikens et al. (preprint) https://arxiv.org/abs/1908.09077 . Section 3.2 for an explaination of Fisher-Mill plots


raikens1/stratamatch documentation built on Aug. 6, 2020, 7:29 a.m.