Description Usage Arguments Details Value Author(s) See Also Examples
This function prints head and tail elements of a vector for visualization purposes. See examples for its usage.
1 |
vec |
A vector of native types (e.g. character strings) |
head |
Integer, number of head elements to be printed |
tail |
Integer, number of tail elements to be printed |
collapse |
Character string, used to collapse elements |
Head and tail elements are concatenated with ellipsis, if there are any elements that are not shown in the vector.
A character string representing the vector
Jitao David Zhang <jitao_david.zhang@roche.com>
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.