Description Usage Arguments Value Author(s) See Also Examples
Length of unique elements in a vector
1 | uniqueLength(x, incomparables = FALSE)
|
x |
A vector |
incomparables |
See |
An integer indicating the number of unique elements in the input vector
Jitao David Zhang <jitao_david.zhang@roche.com>
1 2 3 4 5 | test.vec1 <- c("HSV", "FCB", "BVB", "HSV", "BVB")
uniqueLength(test.vec1)
test.vec2 <- c(1L, 2L, 3L, 5L, 3L, 4L, 2L, 1L, 5L)
ulen(test.vec2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.