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


pmpsa-hpc/GladiaTOX documentation built on Sept. 1, 2023, 5:52 p.m.