Description Usage Arguments Value See Also
Counts primary_col, sec_col responses; if a user has give more than one response, counts them as "Mixed".
1 | group_by_primary_sec(x, arrange_by_total = FALSE, mode_by_user = TRUE)
|
x |
dataframe containing primary_col and sec_col. |
arrange_by_total |
logical, whether to arrange rows by total number in each. |
mode_by_user |
logical, whether to consolidate multiple responses from the same user – if responses vary, they are replaced with "Mixed". |
A dataframe with all distinct variants of primary_col and sec_col (and maybe "Mixed" for either or both too) and the number of responses of that combo.
understanding_by_awareness
uses group_by_primary_sec()'s output as its primary input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.