rm_na_row: Remove rows from data frame or matrix full of NA.

Description Usage Arguments Value Examples

Description

Remove rows from data frame or matrix full of NA.

Usage

1
rm_na_row(.data)

Arguments

.data

A data frame or matrix.

Value

Output and .data. have the same type.

Examples

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

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