Learn R Programming

tcpl (version 1.2.2)

lw: 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 tcpl abbreviations: is.odd, lu, sink.reset