View source: R/Lazier_functions.R
countUni | R Documentation |
count unique values in a vector
countUni(x)
x |
input vector |
no of unique values in x
a <- c(1, 2, 3, NA, 6, NA, 7, 7, 1)
countUni(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.