Number of unique values.
Calculate number of unique values of a variable as efficiently as possible.
nunique(x)
x
vector
Tools for Splitting, Applying and Combining Data
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.