This package is no longer under active development and no new
functionality will be added. You should instead be using group_map()
,
group_modify()
and group_walk()
functions from dplyr
. See:
https://dplyr.tidyverse.org/reference/group_map.html
This is for two reasons-
-
dplyr 0.8.1
introducedgroup_map()
,group_modify()
andgroup_walk()
functions that can be used to iterate on grouped dataframes. So if you want to dogrouped_
operations, I would highly recommend using these functions overgroupedstats
functions since the former are much more general, efficient, and faster than the latter. For more, see: https://dplyr.tidyverse.org/reference/group_map.html -
There are more general versions of these functions introduced in
broomExtra
package:
grouped_tidy
,grouped_augment
,grouped_glance
. For more, see: https://indrajeetpatil.github.io/broomExtra/reference/index.html#section-grouped-variants-of-generics
Type | Source | Command |
---|---|---|
Release | CRAN | install.packages("groupedstats") |
Development | GitHub | remotes::install_github("IndrajeetPatil/groupedstats") |