badRows: Find rows with NA values in a dataframe or matrix

Description Usage Arguments Value See Also Examples

Description

For each row, if any element is NA TRUE is returned.

Usage

1

Arguments

x

a dataframe or matrix

Value

a logical vector

See Also

Other utility: aggMatrix, cellIdx, expand, merge.formula, rowProds

Examples

1
2
3
4
# fake data matrix with a missing row
x <- matrix(rnorm(3 * 4), nrow = 3)
x[2, 3] <- NA
badRows(x)

SEEG-Oxford/seegMBG documentation built on May 9, 2019, 11:08 a.m.