You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be neat if the group_*() functions (group_map(), group_modify() and group_walk()) included the .by syntax similar to the other dplyr functions!
For example, in the case of:
library(estimatr)
mtcars %>%
group_by(am, vs) %>%
group_map(~tidy(lm_robust(mpg~hp, data=.x))) %>%
ungroup() # question asker forgot to include this (!)
I was reading through this StackOverflow question from a few years ago, and learned of the
group_map
function. It seems like it might be the ugly duckling of the dplyr function family.It would be neat if the group_*() functions (group_map(), group_modify() and group_walk()) included the .by syntax similar to the other dplyr functions!
For example, in the case of:
It could instead be:
Keep up the great work! :-)
The text was updated successfully, but these errors were encountered: