i_na_values {ilabelled}R Documentation

define missing values

Description

define which values will be handled as missing values

Usage

i_na_values(x, values, sort = TRUE, desc = FALSE)

Arguments

x

vector

values

vector with missing values e.g. c(888,999) or NULL (NULL will remove all missing values)

sort

sort values

desc

sort values in descending order

Value

Returns x with missing values set


[Package ilabelled version 0.9.0 Index]