lw {GladiaTOX} | R Documentation

## Abbreviation for `length(which(x))`

### Description

`lw` takes a logical vector, `x`, and returns `length(which(x))`.

### Usage

    lw(x)

### Arguments

`x` | A logical

### Value

The length of the `TRUE` values in `x`

### See Also

`length`, `which`

Other gtox abbreviations: `is.odd`, `lu`, `sink_reset`

### Examples

    lw(c(TRUE, FALSE, TRUE))

[Package GladiaTOX version 1.6.1 Index]