miss2NA: Recode Missings to 'NA'

View source: R/miss2NA.R

miss2NAR Documentation

Recode Missings to NA

Description

Recode Missings to NA according to missing labels in label data.frame.

Usage

miss2NA(GADSdat)

Arguments

GADSdat

A GADSdat object.

Details

Missings are imported as their values via import_spss. Using the value labels in the labels data.frame, miss2NA recodes these missings codes to NA. This function is mainly intended for internal use.

Value

Returns a data.frame with NA instead of missing codes.


eatGADS documentation built on June 8, 2025, 12:42 p.m.