Number of unique values.

ulength(x)

Arguments

x

object

Value

numeric

Author

Nicholas Mikolajewicz

Examples


x <- c(1,1,1,1,2,2,2,3,)
#> Error in c(1, 1, 1, 1, 2, 2, 2, 3, ): argument 9 is empty
n.x <- ulength(x)
#> Error in ulength(x): could not find function "ulength"