View source: R/pivot_wider_multicol.R
collapse_vals | R Documentation |
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
.
collapse_vals(..., .exclude_val = 0)
... |
Values passed to the internal aggregator functions. |
combine_vals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.