missing_to_na: Recursively map all missing values to 'NA'.

View source: R/missing.R

missing_to_naR Documentation

Recursively map all missing values to NA.

Description

Traverse a recursive list and map missing values to NA. Missing values are:

  • NULL

  • "NR"

Usage

missing_to_na(lst, na = NA_character_)

Arguments

lst

A list.

Details

Note: This function is case sensitive on "NR", i.e., it will leave "nr" untouched.

Value

A list whose missing values have been replaced by NA.


ramiromagno/gwasrapidd documentation built on Jan. 3, 2024, 10:21 p.m.