plot.UPSnnltd {USPS} | R Documentation |
Make a "Snowball" plot of the Local Treatment Difference (LTD) distribution for a given number of patient clusters in baseline X-covariate space.
## S3 method for class 'UPSnnltd': plot(x, pballs = TRUE, ...)
x |
Object of class UPSnnltd. |
pballs |
Logical; Display cluster-size weighted (red) and inverse-variance weighted (green) "Power Balls" to represent across cluster LTD averages within the "Snowball" plot. |
... |
Optional argument(s) to pass on to plot(). |
NULL
Bob Obenchain <sunsetstats@earthlink.net>
Obenchain RL. (2004) Unsupervised Propensity Scoring: NN and IV Plots. Proceedings of the American Statistical Association (on CD) 8 pages.
Obenchain RL. (2005) USPSinR.pdf ../R_HOME/library/USPS 40 pages.
UPSivadj
, UPSaccum
and UPSgraph
.
data(lindner) UPSxvars <- c("stent", "height", "female", "diabetic", "acutemi", "ejecfrac", "ves1proc") UPSharch <- UPShclus(lindner, UPSxvars) UPSaccum(UPSharch, lindner, abcix, lifepres, faclev=1, scedas="homo", accobj="ABClife") lif070nn <- UPSnnltd(70) lif070nn plot(lif070nn)