This function produces a collection of diagnostic plots for mnps objects.
# S3 method for mnps
boxplot(
x,
stop.method = NULL,
color = TRUE,
figureRows = NULL,
singlePlot = NULL,
multiPage = FALSE,
time = NULL,
print = TRUE,
...
)
A `ps` object
Only 1 `stop.method` can be presented at a time for `mnps` objects. Use a numeric indicator of which `stop.method` (among those specified when fitting the `mnps` object) should be used.
If `FALSE`, a grayscale figure will be returned.
The number of rows in the figure. Defaults to the number of panels.
If multiple sets of boxplots are produced, `singlePlot` can be used to select only one. For example, `singlePlot = 2` would return only the second set of boxplots.
When multiple frames of a figure are produced, `multiPage = TRUE` will print each frame on a different page. This is intended for situations where the graphical output is being saved to a file.
For use with iptw fits.
If `FALSE`, the figure is returned but not printed.
Additional arguments that are passed to boxplot function, which may bepassed to the underlying `lattice` package plotting functions.
This function produces lattice-style graphics of diagnostic plots.
Dan McCaffrey, G. Ridgeway, Andrew Morral (2004). "Propensity Score Estimation with Boosted Regression for Evaluating Adolescent Substance Abuse Treatment", *Psychological Methods* 9(4):403-425.
[mnps]