View source: R/makePPTList_matchit.R
PSMTable | R Documentation |
Make flextable summarizing propensity score matching
PSMTable(x, digitsstd = 3, grouplabel = NULL)
x |
An object of class matchit |
digitsstd |
integer indicating the number of decimal places |
grouplabel |
Optional group label |
require(MatchIt)
formula=treat ~ age + educ + race+married+nodegree + re74 + re75
x=matchit(formula, data =lalonde, method= "full",link="probit")
PSMTable(x,grouplabel=c("Control","Treated"))
x=matchit(formula, data =lalonde, method= "nearest")
PSMTable(x,grouplabel=c("Control","Treated"))
data("GBSG2",package="TH.data")
x=matchit(horTh~age+menostat+tsize+tgrade+pnodes+progrec+estrec,data=GBSG2,method="full")
PSMTable(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.