i_missing_to_na {ilabelled}R Documentation

missing values to NA

Description

all values declared as missing will be recoded as NA

Usage

i_missing_to_na(x, remove_missing_labels = FALSE)

Arguments

x

vector or data.frame

remove_missing_labels

remove values labels from values which are declared as missing

Value

Returns x with missing values coerced to NA


[Package ilabelled version 0.9.0 Index]