all_na_rows: Find rows and columns in which all values are NA's

Description Usage Arguments Value Examples

View source: R/all_na_rows.R

Description

Find rows and columns in which all values are NA's

Usage

1
2
3

Arguments

x

A data frame or a matrix.

Value

A logical vector with rows/columns in which all values are NA indicated as TRUE.

Examples

1
2
3
4
5
 x <- matrix(c(NA, 1, 2, NA, 3, 4, NA, NA, NA), nrow = 3)
 x
 all_na_rows(x)

 all_na_columns(x)

GegznaV/spMisc documentation built on April 26, 2020, 5:59 p.m.