collapse_vals: collapse_vals

View source: R/pivot_wider_multicol.R

collapse_valsR Documentation

collapse_vals

Description

Helper function for pivoting wide & then summarizing/aggregating in the pivot_wider_multicol steps. collapse_vals aggregates using unique, then removing unwanted values. If the exclusion procedure results in no values being retained, the original values are passed to combine_vals.

Usage

collapse_vals(..., .exclude_val = 0)

Arguments

...

Values passed to the internal aggregator functions.

See Also

combine_vals


tessaleejohnson/corclus documentation built on Oct. 11, 2022, 3:46 a.m.