ok | 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 contain NA
s.
ok(x)
x |
Logical vector or matrix |
Logical vector or matrix, containing no NA
s.
Rene Locher
ok(c(FALSE,TRUE,NA,TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.