View source: R/makePPTList_matchit.R
ggPSMSummary | R Documentation |
Draw summary plot of propensity score matching
ggPSMSummary(x, show.table = TRUE, xpos = NULL, ypos = NULL)
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 |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.