lu: Compute the number of unique elements in a vector

Description Usage Arguments Examples

Description

This function is an alias for length(unique()).

Usage

1
lu(x, ...)

Arguments

x

a vector or a data frame or an array or NULL.

...

expressions evaluated in the context of x and then fed to unique

Examples

1
2
x <- c(1, 1, 2, 2, 3)
lu(x)

kshirley/LDAtools documentation built on May 20, 2019, 7:03 p.m.