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 useful if group_by() function could take benefits from select helpers. Some dplyr functions (other than select) already work with these helpers (e.g. mutate_at).
require(dplyr, warn.conflicts=F, quietly=T)
df<- data_frame(g1= rep(letters[1:3], 5), g2= rep(letters[1:3], each=5)) %>%
mutate(x= seq_len(n()), y= runif(n()))
group_by(df, starts_with("g"))
#> Error in mutate_impl(.data, dots): wrong result size (0), expected 15 or 1
The text was updated successfully, but these errors were encountered:
It would be useful if group_by() function could take benefits from select helpers. Some
dplyr
functions (other thanselect
) already work with these helpers (e.g.mutate_at
).The text was updated successfully, but these errors were encountered: