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
In the Iteration chapter, dplyr::group_nest() is advised in order to restructure a data frame in such a way that rows represent the unique combinations of grouping variables and the remaining variables are moved to a list column (list of tibbles).
However the documentation of dplyr::group_nest() currently states:
group_nest() is not stable because tidyr::nest(.by =) provides very similar behavior. It may be deprecated in the future.
So I'd suggest to indeed use nest(.by =) (or group_by() |> nest()). I could make a pull request to implement that if you like.
The text was updated successfully, but these errors were encountered:
In the Iteration chapter,
dplyr::group_nest()
is advised in order to restructure a data frame in such a way that rows represent the unique combinations of grouping variables and the remaining variables are moved to a list column (list of tibbles).However the documentation of
dplyr::group_nest()
currently states:So I'd suggest to indeed use
nest(.by =)
(orgroup_by() |> nest()
). I could make a pull request to implement that if you like.The text was updated successfully, but these errors were encountered: