ok {IDPmisc}R Documentation

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.

Author(s)

Rene Locher

Examples

ok(c(FALSE,TRUE,NA,TRUE))

[Package IDPmisc version 0.3.1 Index]