R/plot.ps.R

Defines functions plot.ps

Documented in plot.ps

plot.ps <- function(x,plots="optimize",subset=NULL, color = TRUE,...)
{
   # Creates diag.plot plots and sends to current device
   # x:     ps object 
   # label: Label added to the plot titles

   # extract the propensity scores and weights from the ps object

pt1 <- diag.plot.color(x, plots, subset = subset, color = color, ...)

return(pt1)

}

Try the twang package in your browser

Any scripts or data that you put into this service are public.

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