options(tibble.width = Inf) knitr::opts_chunk$set( collapse = TRUE, dpi = 200, message = FALSE, warning = FALSE, out.width = "100%", comment = "#>", fig.path = "man/figures/README-" )
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
introduced group_map()
, group_modify()
and group_walk()
functions that can be used to iterate on grouped dataframes. So if you want
to do grouped_
operations, I would highly recommend using these functions
over groupedstats
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.