plot.UPSnnltd {USPS}R Documentation

Display a Snowball plot of the Nearest Neighbor Distribution of LTDs in Unsupervised Propensiy Scoring

Description

Make a "Snowball" plot of the Local Treatment Difference (LTD) distribution for a given number of patient clusters in baseline X-covariate space.

Usage

  ## S3 method for class 'UPSnnltd':
  plot(x, pballs = TRUE, ...)

Arguments

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().

Value

NULL

Author(s)

Bob Obenchain <sunsetstats@earthlink.net>

References

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.

See Also

UPSivadj, UPSaccum and UPSgraph.

Examples

    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)

[Package USPS version 1.0-1 Index]