compareLove.plot | R Documentation |
Drow love plot comparing to nearest match
compareLove.plot(out, stats = c("m"))
out |
An object of a class matchit |
stats |
character; which statistic(s) should be reported |
library(cobalt)
data(lalonde,package="MatchIt")
formula=treat ~ age + educ + race+ married +nodegree + re74 + re75
out=MatchIt::matchit(formula, data =lalonde, method= "full",link="probit")
compareLove.plot(out)
compareLove.plot(out,stats=c("m","ks"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.