boxplot.mnps: Boxplots for mnps objects

Description Usage Arguments Details References See Also

View source: R/boxplot.mnps.R

Description

This function produces a collection of diagnostic plots for mnps objects.

Usage

1
2
3
4
 
## S3 method for class 'mnps'
boxplot(x, stop.method = NULL, color = TRUE, figureRows = NULL, 
	singlePlot = NULL, multiPage = FALSE, time = NULL, print = TRUE, ...)

Arguments

x

A ps object

stop.method

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.

color

If FALSE, a grayscale figure will be returned.

figureRows

The number of rows in the figure. Defaults to the number of panels.

singlePlot

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.

multiPage

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.

time

For use with iptw fits.

print

If FALSE, the figure is returned but not printed.

...

Additional arguments that may be passed to the underlying lattice package plotting functions

Details

This function produces lattice-style graphics of diagnostic plots.

References

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.

See Also

ps


twang documentation built on May 2, 2019, 6:53 p.m.

Related to boxplot.mnps in twang...