Create or test for objects of type "logical", and the basic logical constants.
TRUE
FALSE
T; F<p></p><p>logical(length = 0)
as.logical(x, …)
is.logical(x)</p>
| Parameter | Description |
|---|---|
length |
A non-negative integer specifying the desired length. Double values will be coerced to integer: supplying an argument of length other than one is an error. |
x |
object to be coerced or tested. |
… |
further arguments passed to or from other methods. |