Description Usage Arguments Value Examples
View source: R/variance_ratio.R
This function parses the formula used in matchit() to obtain the grouping variable and the covariate vector.
1 | parse_formula(mi_obj = NULL)
|
mi_obj |
A matchit object derived from MatchIt pacakge |
Return a list including the grouping variable and covariate vector
1 2 3 | m_out <- MatchIt::matchit(treat ~ re74 + re75 + age + educ + hispan +
black, data = MatchIt::lalonde, method = "nearest")
parse_formula(m_out)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.