Learn R Programming

jwutil (version 1.2.3)

get_na_fields: get NA field names from data frame

Description

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

Usage

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

  • getNAFields: Deprecated

  • getNonNAFields: Deprecated