lw: Abbreviation for 'length(which(x))'

View source: R/lw.R

lwR 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))


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