View source: R/utils_compositions.R
| format_group_count | R Documentation |
Converts a vector of dyad or group identifiers into text that includes both the number of groups and a compact list of their identifiers.
format_group_count(groups, singular = "dyad", plural = "dyads", max = 10)
groups |
A vector of group identifiers. |
singular |
Singular label for one group. |
plural |
Plural label for multiple groups. |
max |
Maximum number of identifiers to show before truncating the list. |
A single character string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.