is_na_row: Detect rows in a data frame full of NA (accross columns).

Description Usage Arguments Value Examples

Description

Detect rows in a data frame full of NA (accross columns).

Usage

1
is_na_row(.data)

Arguments

.data

A non empty matrix or data frame

Value

A logical vector of length equal to number of rows in data.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(tibble)
df <- tribble(
~x,  ~y,    ~z,
 1, "a", FALSE,
NA,  NA,    NA,
5,  "b",  TRUE,
NA,  NA,    NA,
NA, "c",    NA
)
is_na_row(df)

forestgeo/ctfs documentation built on May 3, 2019, 6:44 p.m.