balancePlot: Draw balance plot

View source: R/makePPTList_twangCont.R

balancePlotR Documentation

Draw balance plot

Description

Draw balance plot

Usage

balancePlot(x, show.point = TRUE, show.label = FALSE, show.legend = FALSE)

Arguments

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

Examples

## 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)

cardiomoon/webrPSM documentation built on Feb. 2, 2024, 3:55 a.m.