lu {GladiaTOX} | R 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))

[Package GladiaTOX version 1.2.0 Index]