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
dplyr functions (including summarise() and mutate(), among others) now have an argument, .by, which allows for per-operation grouping, removing the need for group_by() in simple pipelines. It'd be nice for ww_multi_scale() to support the same (for the sf method; raster methods don't support grouping, and probably never will), such that these calls were equivalent:
For what it's worth, note that dplyr errors when trying to mix group_by() and .by:
>dplyr::group_by(iris, Species) |>dplyr::summarise(m= mean(Sepal.Length), .by=Species)
Errorin`dplyr::summarise()`:!Can't supply `.by` when `.data` is a grouped data frame.Run `rlang::last_trace()` to see where the error occurred.
The text was updated successfully, but these errors were encountered:
dplyr functions (including
summarise()
andmutate()
, among others) now have an argument,.by
, which allows for per-operation grouping, removing the need forgroup_by()
in simple pipelines. It'd be nice forww_multi_scale()
to support the same (for the sf method; raster methods don't support grouping, and probably never will), such that these calls were equivalent:For what it's worth, note that dplyr errors when trying to mix
group_by()
and.by
:The text was updated successfully, but these errors were encountered: