Description Usage Arguments Value Note Author(s) Examples
Print the chosen few (the first and the last) items of a long vector
1 |
vec |
A vector of characters or other types that can be cast into characters |
start |
Integer, how many elements at the start shall be printed |
end |
Integer, how many elements at the end shall be printed |
collapse |
Character used to separate elements |
A character string ready to be printed
In case the vector is shorter than the sum of start
and
end
, the whole vector is printed.
Jitao David Zhang <jitao_david.zhang@roche.com>
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.