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

Description Usage Arguments Value See Also Examples

View source: R/lu.R

Description

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

Usage

1
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

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

GladiaTOX documentation built on Nov. 15, 2020, 2:07 a.m.