This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/logical.html
logical {base}R Documentation

Logical Vectors

Description

logical creates a logical vector of the specified length. Each element of the vector is equal to FALSE.

as.logical attempts to coerce its argument to be of logical type.

is.logical returns TRUE or FALSE depending on whether its argument is of logical type or not.

Usage

logical(n=0)
as.logical(x)
is.logical(x)

[Package base version 0.60 ]