lu: Abbreviation for 'length(unique(x))'

View source: R/lu.R

luR Documentation

Abbreviation for length(unique(x))

Description

lu takes a logical vector, x, and returns length(unique(x)).

Usage

lu(x)

Arguments

x

A logical

Value

The unique of the TRUE values in x

See Also

unique, which

Other gtox abbreviations: is.odd, lw, sink_reset

Examples

lu(c(1, 1, 2, 3))


philipmorrisintl/GladiaTOX documentation built on Aug. 27, 2023, 9:07 p.m.