.compress | R Documentation |
Returns string which shows n_show
first elements and vec
and
amount of truncated elements.
.compress(vec, n_show = 5, collapse = ", ")
vec |
Atomic vector. |
n_show |
Positive integer. |
collapse |
Single string, how to collapse the given vector. |
Single string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.