group: Groups Combination

View source: R/group.R

groupR Documentation

Groups Combination

Description

Combines data.frame groups into a unique one

Usage

group(df, collapse = ".", keepNAlevels = FALSE, ...)

Arguments

df

a data.frame whose columns represent grouping factor.

collapse

a string used to collapse groups levels.

keepNAlevels

whether to keep NA levels resulting from groups merging

...

other arguments to be passed.

Value

a named list containing row indices of grouping combinations.


gitdemont/IFC documentation built on Feb. 20, 2025, 12:55 a.m.