ok {IDPmisc} | R Documentation |
Sets NAs in logical vectors and matrices to FALSE. This is especially
useful for conditional selections of data when the variables the condition is
based on contains NA
s.
ok(x)
x |
Logical vector or matrix |
Logical vector or matrix, containing no NAs.
Rene Locher
ok(c(FALSE,TRUE,NA,TRUE))