vars: Pass grouping definitions into functions

View source: R/utils.R

varsR Documentation

Pass grouping definitions into functions

Description

Inspired by dplyr::vars(), but converting strings to symbols and auto names all arguments

Usage

vars(...)

Arguments

...

Variables to group by. These arguments are automatically quoted and later evaluated in the context of the data frame. They support unquoting.

Value

named list containing quosures or symbols


Ostluft/rOstluft documentation built on Feb. 6, 2024, 1:26 a.m.