View source: R/pivot_summary.R
pivot_summary | R Documentation |
Wrapper around base r 't()' that returns a tibble. Transposes a data frame, intended for use on the output of a dplyr::summarize operation
pivot_summary(sumr, ...)
sumr |
A tibble |
... |
an optional tidyselect specification of grouping columns to pivot |
for an ungrouped summarize, ... argument can be left empty for a grouped summarize, use column names or tidyselect to pivot the group names. Multiple groups will be concatenated before pivoting.
a tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.