ok: Sets NAs in Logical Objects to FALSE

Description Usage Arguments Value Author(s) Examples

View source: R/ok.R

Description

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 NAs.

Usage

1
ok(x)

Arguments

x

Logical vector or matrix

Value

Logical vector or matrix, containing no NAs.

Author(s)

Rene Locher

Examples

1

IDPmisc documentation built on Jan. 21, 2020, 5:06 p.m.