Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

group_by_prepare

Same basic philosophy as group_by_prepare(): lazy_dots comes in, list of data and vars (character vector) comes out.


Description

*_prepare() performs standard manipulation that is needed prior to actual data processing. They are only be needed by packages that implement dplyr backends.

Usage

distinct_prepare(
  .data,
  vars,
  group_vars = character(),
  .keep_all = FALSE,
  caller_env = caller_env(2)
)

group_by_prepare(
  .data,
  ...,
  caller_env = caller_env(2),
  .add = FALSE,
  .dots = deprecated(),
  add = deprecated()
)

Value

A list

data

Modified tbl

groups

Modified groups


dplyr

A Grammar of Data Manipulation

v1.0.6
MIT + file LICENSE
Authors
Hadley Wickham [aut, cre] (<https://orcid.org/0000-0003-4757-117X>), Romain François [aut] (<https://orcid.org/0000-0002-2444-4226>), Lionel Henry [aut], Kirill Müller [aut] (<https://orcid.org/0000-0002-1416-3412>), RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.