powered by
Calculate number of unique values of a variable as efficiently as possible.
nunique(x)
vector