ggPSMSummary: Draw summary plot of propensity score matching

View source: R/makePPTList_matchit.R

ggPSMSummaryR Documentation

Draw summary plot of propensity score matching

Description

Draw summary plot of propensity score matching

Usage

ggPSMSummary(x, show.table = TRUE, xpos = NULL, ypos = NULL)

Arguments

x

An object of class matchit

show.table

logical whether or not show table

xpos

numeric Min x-axis position of table

ypos

numeric Min y-axis position of table

Examples

require(MatchIt)
formula=treat ~ age + race+educ + nodegree + re74 + re75
x=matchit(formula, data =lalonde, method= "nearest",ratio=1,caliper=0.25)
ggPSMSummary(x,show.table=FALSE)
ggPSMSummary(x)

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