View source: R/makePPTList_twangCont.R
balancePlot | R Documentation |
Draw balance plot
balancePlot(x, show.point = TRUE, show.label = FALSE, show.legend = FALSE)
x |
An object of class ps.cont |
show.point |
logical Whether or not show point |
show.label |
logical Whether or not show label |
show.legend |
logical Whether or not show legend |
## Not run:
library(twangContinuous)
model=ps.cont( treat ~ x1 + x2,data=simData2,n.trees=5000)
balancePlot(model)
data(dat)
model=ps.cont(tss_0~sfs8p_0+sati_0+sp_sm_0+recov_0+subsgrps_n+treat,data=dat,n.trees = 500)
balancePlot(model)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.