Learn R Programming

eatGADS (version 1.1.1)

miss2NA: Recode Missings to NA

Description

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

Usage

miss2NA(GADSdat)

Value

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

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.