get_na_fields: get NA field names from data frame

Description Usage Arguments Value Functions

View source: R/na.r

Description

Get the names of any columns in a data frame which have NA values.

Usage

1
2
3
4
5
6
7
get_na_fields(x, na_ish = FALSE, extra_na = NULL)

getNAFields(x, na_ish = FALSE, extra_na = NULL)

get_non_na_fields(x)

getNonNAFields(x)

Arguments

x

data.frame

na_ish

Logical, if 'TRUE', also consider NA-like strings, using 'is_na_ish'

extra_na

passed on to 'is_na_ish'

Value

vector of names of fields which contain any NA values, length zero if no matches

Functions


jackwasey/jwutil documentation built on May 18, 2019, 7:58 a.m.