collapse_some | R Documentation |
Create character string with some or all items.
collapse_some(all.vec,
max.first.last = 5,
collapse = ",")
all.vec |
Vector of all items. |
max.first.last |
Max number of items to show. |
collapse |
Passed to paste. |
Character string formed by paste with collapse
on some items of
all.vec
(first/last few items used if length is greater than
max.first.last*2, otherwise all items).
Toby Dylan Hocking
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.