setAllMissing: Converts missing values to NA, including 88 or 99 (if in...

View source: R/miscFuncs.R

setAllMissingR Documentation

Converts missing values to NA, including 88 or 99 (if in network ID vars)

Description

Converts missing values to NA, including 88 or 99 (if in network ID vars)

Usage

setAllMissing(pInTB)

Arguments

pInTB

The input tibble from the output of 'inputSPSS'

Details

This function works for survey and/or network data tables.

Value

The same tibble as was input, except that NaNs (in any vars) and 88's or 99's (in network ID variables only, if there are any) are all replaced with 'NA'


johninpdx/JMLUtils documentation built on Dec. 29, 2024, 1:27 p.m.