We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nest_data <- lalonde %>% group_by(race) %>% nest()
match_nested_data <- function(df){matchit(treat ~ age + re74 + educ + re75 + re78, data = {{df}}, method = "cem") }
cem_matchit <- map(.x = nest_data$data, .f = match_nested_data)
data <- map(cem_matchit, match.data)
The text was updated successfully, but these errors were encountered:
Please see #53. This is an inherent limitation in match.data() but can be solved by supplying the data argument to match.data().
match.data()
data
Sorry, something went wrong.
No branches or pull requests
nest_data <- lalonde %>%
group_by(race) %>%
nest()
match_nested_data <- function(df){matchit(treat ~ age + re74 + educ + re75 + re78,
data = {{df}},
method = "cem") }
cem_matchit <- map(.x = nest_data$data, .f = match_nested_data)
data <- map(cem_matchit, match.data)
The text was updated successfully, but these errors were encountered: