A fct function
Arguments
- match.data
An object returned from the matched.data function
- xvar
A string naming the variable to go on the X axis
- yvar
A string naming the variable to go on the Y axis
- multi
Boolean value of whether the output will be part of a plotly subplot
- plot.n
a number indicating the number plot it is for the title
Examples
#simulate some data
d <- create.sim.data(1,2)
#matching formula
f <- t~X1+X2
#create matched data object
M <- matched.data(f,d,"Propensity Score")
#create an animated plot of the matched data
matching.plot(M, "X1", "X2", FALSE)
#> Warning: Only one `frame` variable is allowed