Description Usage Arguments Value Author(s) Examples
Enumarates components of a vector in order to make each component unique. Useful for cases where duplicates of vector components must be avoided.
1 | vectorEnum(x, sep = ".")
|
x |
a vector with possibly duplicated components |
sep |
a character indicating how the enumeration and original vector components should be separated. Defaults to "." |
a vector in the same order and dimension as 'x' with each component uniquely enumerated
Atreya Shankar
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.