View source: R/balancePlotTwang.R
balancePlotTwang | R Documentation |
Draw balance Plot
balancePlotTwang(
out,
show.label = FALSE,
show.legend = FALSE,
rowByGroup = TRUE
)
out |
An object of class mnps |
show.label |
logical Whether or not show label |
show.legend |
logical Whether or not show legend |
rowByGroup |
logical If true, draw row by group |
library(twang)
data(AOD)
out=mnps(treat~illact+crimjust+subprob+subdep+white,data=AOD,n.trees=3000,verbose=FALSE)
balancePlotTwang(out)
out=mnps(treat~illact+crimjust+subprob+subdep+white,data=AOD,n.trees=3000,verbose=FALSE,
stop.method=c("es.mean","ks.max"))
balancePlotTwang(out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.