fun2_1_3_RegData_newVarMAsNA: Make variables where missing is coded as NA (MAsNA)

Description Usage Arguments Details Value

View source: R/fun2_1_3_RegData_newVarMAsNA.R

Description

Output is data, with new variables where missing is coded as NA. Some are categoricial, and som have values that are labels. Accordingly the new variables are named with suffixes _MISSING, CAT, and _NAMES (TODO: rename to for instance MaSNA, NumCat and LabCat)

Usage

1

Arguments

myInData

RegData

Details

Note: This function's name when writing aarsrapport 2019 (in 2020) was: make23_data_newVar

Value

myInData (invisble)


Rapporteket/norspis2 documentation built on April 18, 2021, 1:11 a.m.