Rdocumentation
powered by
Learn R Programming
IDPmisc (version 0.3.1)
ok: Sets NAs in Logical Objects to FALSE
Description
Sets NAs in Logical Vectors and Matrices to FALSE.
Usage
ok(x)
Arguments
x
Logical vector or matrix
Value
Logical vector or matrix, containing no NAs.
Examples
Run this code
ok(
c
(
FALSE
,
TRUE
,
NA
,
TRUE
))
Run the code above in your browser using
DataLab