grouped_combn: Converts a vector of grouping variables to a list of...

grouped_combnR Documentation

Converts a vector of grouping variables to a list of combinations of the grouping variables taken m at a time for each m in range r.

Description

Converts a vector of grouping variables to a list of combinations of the grouping variables taken m at a time for each m in range r.

Usage

grouped_combn(gv, r = seq.int(0, length(gv)))

Arguments

gv

A vector of group variable names.

r

The combinations range, defaults to all combinations.

Value

A list of combinations of the grouping variables.


toddagood/apatfa documentation built on Jan. 30, 2023, 11:51 p.m.