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-"
)

groupedstats: Grouped statistical analysis in a tidy way

lifecycle R build status pkgdown

Retirement


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-

  1. 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

  2. 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


Installation

Type | Source | Command ---|---|--- Release | CRAN | install.packages("groupedstats") Development | GitHub | remotes::install_github("IndrajeetPatil/groupedstats")



IndrajeetPatil/groupedstats documentation built on June 17, 2021, 7:57 a.m.