boxplot.ps: Boxplot for 'ps' objects

View source: R/boxplot.ps.R

boxplot.psR Documentation

Boxplot for 'ps' objects

Description

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

Usage

## S3 method for class 'ps'
boxplot(x, subset = NULL, color = TRUE, time = NULL, ...)

Arguments

x

A 'ps' object

subset

If multiple 'stop.method' rules were used in the 'ps()' call, 'subset' restricts the plots of a subset of the stopping rules that were employed. This argument expects a subset of the integers from 1 to k, if k 'stop.method's were used.

color

If 'FALSE', a grayscale figure will be returned.

time

For use with iptw fits.

...

Additional arguments that are passed to boxplot function, which may bepassed 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 Sept. 11, 2024, 8:47 p.m.